You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP

node-env-fallback

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

node-env-fallback

NODE_ENV with fallback

1.0.0
latest
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created

build status

node-env-fallback

NODE_ENV with fallback.

Installation

npm:

$ npm install node-env-fallback

Usage

var env = require('node-env-fallback');
console.log(env);

Without NODE_ENV:

$ node env.js
development

With NODE_ENV:

$ NODE_ENV=production node env.js
production

License

The MIT License

Copyright © 2013 Seiya Konno <nulltask@gmail.com>

FAQs

Package last updated on 26 May 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