Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 338 Bytes

README.md

File metadata and controls

19 lines (13 loc) · 338 Bytes

nconf-json

JSON format plugin for indexzero/nconf, add JSON.minify support so you can add comments in json files.

Install

npm install nconf nconf-json --save

Usage

var nconf = require('nconf')

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