mongoscope-config

v0.1.0
Thin wrapper around nconf, validation and defaults
mongodb.js mongoscope

mongoscope-config

build status

Thin wrapper around nconf, validation and defaults.

Example

var config = require('mongoscope-config');
console.log('Token lifetime minutes', config.get('token:lifetime'));
// Token lifetime minutes 10

Install

npm install --save mongoscope-config

Test

npm test

License

MIT

npm i mongoscope-config

Metadata

  • MIT
  • Whatever
  • Lucas Hrabovsky
  • released 2/17/2015

Downloads

Maintainers