Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

nenv

Package Overview
Dependencies
Maintainers
1
Versions
16
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

nenv

Utility for managing node development environments

  • 0.2.1
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

Table of Contents

  • nenv

nenv

Utility for mananging node development environments.

Requires node and npm.

Install

npm i nenv --save

Usage

var nenv = require('nenv')
  , env = nenv();

// environment value fixed at creation time
console.log(env.value);

// get current value of environment
console.log(env.get());

// check environment is valid
console.log(env(env.TEST));
console.log(env(env.DEVEL));
console.log(env(env.STAGE));
console.log(env(env.PRODUCTION));
console.log(env('unknown'));

Developer

Test

Run the test specifications:

npm test

Readme

Generate the project readme file (requires mdp):

npm run readme

License

Everything is MIT. Read the license if you feel inclined.

Generated by mdp(1).

Keywords

FAQs

Package last updated on 14 Apr 2015

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc