config-rc
Simple .*rc
configuration module designed for command line applications.
Example
Setting values
'use strict'; var myconf = ; myconf;myconf;
Saves in ~/.myapprc
the following JSON:
Retrieving values
'use strict'; var myconf = ; var login = myconf password = myconf; // login <- 'jack'// password <- '123456'
Destroying the config
'use strict'; var myconf = ; myconf;
Deletes the config file ~/.myapprc
.
License
MIT