node-config-examiner
v1.0.6
Published
If you use the super useful [node-config](http://onet.pl) module, it can be a helpful solution for you.
Maintainers
Readme
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 --devYARN approach
yarn add node-config-examiner --devNow 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);