0.1.1 • Published 8 years ago

tinyconfig v0.1.1

Weekly downloads
2
License
MIT
Repository
github
Last release
8 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

8 years ago

0.1.0

9 years ago

0.0.7

10 years ago

0.0.6

10 years ago

0.0.5

10 years ago

0.0.4

10 years ago

0.0.3

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago

0.0.0

10 years ago