Topic: NodeJS – Page 2
debugis used by millions of other packages to handle log messages. It turns out Node.js has this functionality also built-in and can display message depending on
Using process.stdout.isTTY you can tailor your Node.js script output to the environment it will go to.
Today I learned that you can reference values define inside of the package.json in your npm scripts to avoid duplication
The NPM_CONFIG_PRODUCTION flag will lead to changed behavior of
npm installbut also set the NODE_ENV environment variable to production.