nconf-level

0.1.1 • Public • Published

nconf-level

A LevelDB store for nconf

Installation

Installing npm (node package manager)

  $ curl http://npmjs.org/install.sh | sh

Installing nconf-level

  $ [sudo] npm install https://github.com/abec/nconf-level

Usage

The store provided by nconf-level will persist all of your configuration settings to a LevelDB directory.

  var nconf = require('nconf');
  require('nconf-level')(nconf);
  
  nconf.use('level', { path: '/tmp/test.leveldb' });
 
  nconf.set('foo', 'bar');
  nconf.get('foo');    // returns 'bar'

Readme

Keywords

none

Package Sidebar

Install

npm i nconf-level

Weekly Downloads

0

Version

0.1.1

License

MIT

Last publish

Collaborators

  • abeaamase