node-env
Just require the NODE_ENV environmental variable
Example
var NODE_ENV = if NODE_ENV === "production" /* serious time */ else if NODE_ENV === "development" /* fs.watch the entire disk!! */
Installation
npm install node-env
Contributors
- Raynos