Easily manage a config file in your project.
You always want to make it possible for users to save some custom configs with a Node.js command line tool, such like you made a node-version Git tool and wanna save the configs to
/Users/$username/.gitconfig. That's why I made this tool to facilitate your development.
// This points to a file $USER_HOME/.customconfigconst config = '.customconfig'// or save the file to a custom pathconfig// or change a parser, the default is `json`// parser in ['json', 'yaml']config// set a propertyconfig// set multi propertiesconfig// get a propertyconfig// get all propertiesconfig// override the config fileconfig
This project is released under SOX license that means you can do whatever you want to do, but you have to open source your copy on github if you let the public uses it. All copies should be released under the same license. The owner of each copy is only reponsible for his own copy, not for the parents, not for the children.
fork on github
do evil with your copy
do evil with copies not of your own
open source your copy without declaring your parent copy