mirror of
https://github.com/usebruno/bruno.git
synced 2026-06-29 23:54:24 +00:00
11 lines
174 B
JavaScript
11 lines
174 B
JavaScript
class Cache {
|
|
get(key) {
|
|
return window.localStorage.getItem(key);
|
|
}
|
|
set(key, val) {
|
|
window.localStorage.setItem(key, val);
|
|
}
|
|
}
|
|
|
|
module.exports = new Cache();
|