🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

node-env

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-env

Just require the NODE_ENV environmental variable

0.1.6
latest
Source
npm
Version published
Weekly downloads
636
-16.97%
Maintainers
1
Weekly downloads
 
Created
Source

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

FAQs

Package last updated on 08 Jun 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts