mirror of
https://github.com/th-ch/youtube-music.git
synced 2026-01-11 10:31:47 +00:00
Refactor config for simpler use and advanced options in plugins
This commit is contained in:
16
config/index.js
Normal file
16
config/index.js
Normal file
@ -0,0 +1,16 @@
|
||||
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,
|
||||
plugins,
|
||||
};
|
||||
Reference in New Issue
Block a user