mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-10 10:11:46 +00:00
19 lines
303 B
JavaScript
19 lines
303 B
JavaScript
const plugins = require("./plugins");
|
|
const store = require("./store");
|
|
|
|
const set = (key, value) => {
|
|
store.set(key, value);
|
|
};
|
|
|
|
const get = (key) => {
|
|
return store.get(key);
|
|
};
|
|
|
|
module.exports = {
|
|
get,
|
|
set,
|
|
edit: () => store.openInEditor(),
|
|
watch: (cb) => store.onDidAnyChange(cb),
|
|
plugins,
|
|
};
|