node-config-inspector
An utility for inspection of node-config configurations
Installation
npm install node-config-inspector
Usage
Create a file somewhere in your project with the following contents
// config.js const argv = argv;const inspector = ;const config = ;const DeferredConfig = DeferredConfig; let prefix = ""; if argv_length >= 1 prefix = argv_0; inspector;
and then run it
node config.js [prefix]
This will dump one line per configuration key for each key which name starts
with prefix
, or all keys if prefix
is not specified.
config.key = value (source) [ other, parent, sources ]
API
/** * Get info about configuration values * * @param * @param * @param string [prefix=""] * @return */
/** * Print configuration info returned by inspect() * * @param * @return */