No description, website, or topics provided.
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
examples
test
.gitignore
.testem.json
.travis.yml
LICENCE
README.md
browser.js
index.js
package.json
script.js

README.md

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