0.0.1 • Published 8 years ago

snape-config v0.0.1

Weekly downloads
9
License
MIT
Repository
github
Last release
8 years ago

snape-config Build Status

A node module to store and read snape's application config.

Install

$ npm install --save snape-config

Usage

const config = require('snape-config');

electronAppConfig('unicorns');
//=> 'unicorns & rainbows'

API

.readConfig((err, data) => console.log(err, data))

Reads the application config.

.addToConfig(object, cb)

Merges the object with existing config.

.replace(obj, cb)

Replace the config with obj

License

MIT © Ritesh Kumar