node-confmanager
v1.9.0
Published
A configuration manager
Downloads
74
Maintainers
Readme
node-confmanager
A configuration manager
Installation
$ npm install node-confmanager
Features
- All the features of the node-containerpattern package
- clone data in "get" action to avoid unwanted changes
- Saving the data in a JSON file
- Load the data from this JSON file and/or commandline
- access to the data with shortcuts in commandline
Doc
Inheritance
check the official 'node-containerpattern' object documentation
Content
check the TypeScript definition file
Examples
check the TypeScript compilation tests
Run
# if "debug" skeleton is setted & defined as a boolean
node mysoft.js -d # if "debug" shortcut is setted
node mysoft.js --debug
node mysoft.js --debug "true"
node mysoft.js --debug "yes"
node mysoft.js --debug "y"
# if "arr" skeleton is defined as a array
node mysoft.js --arr test1 test2
node mysoft.js --arr "[ \"test1\", \"test2\" ]"
Tests
$ npm run-script tests