nconf-js
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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

Readme

Keywords

Package Sidebar

Install

npm i nconf-js

Weekly Downloads

2

Version

1.0.0

License

MIT

Last publish

Collaborators

  • yoneal