0.0.5 • Published 7 years ago
gcfg v0.0.5
GlobalConfigManager
Manages Global Config files for npm-modules
Description
This simple module reads from and writes json files to the users home directory, so that data can be saved globally.
Usage
set (applicationId, fileName, content, cb)
- applicationId: Id of your application
- fileName: self-explanatory
- content: Content of the file
- cb: Callback (err)
get (applicationId, fileName, cb)
- applicationId: Id of your application
- fileName: self-explanatory
- cb: Callback (err, data)