node-config-examiner

1.0.6 • Public • Published

node-config-examiner

If you use the super useful node-config module, it can be a helpful solution for you.

node-config-examiner will show you all the differences between the default (default.json) configuration and the one with which you launched your nodejs application with NODE_ENV or NODE_CONFIG_ENV.

Installation

NPM approach

npm install node-config-examiner --dev

YARN approach

yarn add node-config-examiner --dev

Now open your main script and call the examinate method from node-config-examiner module.

const examiner = require('node-config-examiner');
examiner.examinate();

By default it will output the result with old schoold console.log but if you want, you can simply attache your favorite logger (e.g. winston):

const examiner = require('node-config-examiner');
const winston = require('winston');
 
examiner.examinate(winston.info);

Terminal

License

May be freely distributed under the MIT license.

Package Sidebar

Install

npm i node-config-examiner

Weekly Downloads

0

Version

1.0.6

License

MIT

Unpacked Size

151 kB

Total Files

5

Last publish

Collaborators

  • marborkowski.react