0.1.6 • Published 11 years ago

node-env v0.1.6

Weekly downloads
254
License
-
Repository
github
Last release
11 years ago

node-env

Just require the NODE_ENV environmental variable

Example

var NODE_ENV = require("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

MIT Licenced