Skip to content

thinkjs/think-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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);

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •