snape-config

0.0.1 • Public • Published

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

/snape-config/

    Package Sidebar

    Install

    npm i snape-config

    Weekly Downloads

    0

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • ritz078