0.1.1 • Published 6 years ago

tinyconfig v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

tinyconfig

$ npm install tinyconfig --save
// init
var config = require('tinyconfig')(module);

// alt init
config = require('tinyconfig')('category');

// set
config('key', 'value');

// get
var value = config('key');

// remove
config('key', null);

// misc
var b = config.has('key');
var value = config.get('key');
var keys = config.keys();
config.set('key', 'value');
config.set({
    'a': 'value',
    'b': 'value'
});
config.clear();
0.1.1

6 years ago

0.1.0

8 years ago

0.0.7

8 years ago

0.0.6

8 years ago

0.0.5

8 years ago

0.0.4

8 years ago

0.0.3

8 years ago

0.0.2

8 years ago

0.0.1

8 years ago

0.0.0

8 years ago