nsconf

0.0.1 • Public • Published

NSConf

Namespaced configuration - read contents of a JSON-style javascript object using dotted namespaces. Supported methods:

var conf = new NSConf(intialValue); 
conf.get(namespace);
conf.set(namespace, value);
conf.extend(namespace, value);
conf.delete(namespace);

Namespace is string, passing '' returns the root object, passing non-string value results in exception.

Readme

Keywords

none

Package Sidebar

Install

npm i nsconf

Weekly Downloads

0

Version

0.0.1

License

MIT

Last publish

Collaborators

  • valeribogdanov