nconf-js
Javascript format plugin for nconf
Last updated 3 years ago by yoneal .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install nconf-js 
SYNC missed versions from official npm registry.

nconf-js

[![NPM version][npm-image]][npm-url]

JS format plugin for nconf

Usage

let nconf = require('nconf');

nconf.file({
  file: '/path/to/some/file.js',
  format: require('nconf-js')
});

or to add general YAML file support

let nconf = require('nconf');

nconf.formats.js = require('nconf-js');

// and then you can do

nconf.file({ file: '/path/to/some/file.js', format: nconf.formats.js });

Install

npm install nconf nconf-js

License

MIT

Current Tags

  • 1.0.0                                ...           latest (3 years ago)

1 Versions

  • 1.0.0                                ...           3 years ago
Maintainers (1)
Downloads
Today 0
This Week 1
This Month 1
Last Day 1
Last Week 0
Last Month 0
Dependencies (2)
Dev Dependencies (7)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |