think-config

1.1.3 • Public • Published

think-config

Config manager for ThinkJS 3.x

How to use

npm install think-config
const Config = require('think-config');
const instance = new Config(config);
instance.get('name'); 
instance.get('foo.bar');
instance.get(); // get all config
instance.get('name', otherConfig);

instance.set('name', value);
instance.set('foo.bar', value);

/think-config/

    Package Sidebar

    Install

    npm i think-config

    Weekly Downloads

    737

    Version

    1.1.3

    License

    MIT

    Unpacked Size

    8.98 kB

    Total Files

    6

    Last publish

    Collaborators

    • lizheming
    • welefen
    • sijiecai
    • lushijie
    • berwin
    • bezos
    • toxicjohann
    • huangxiaolu