Skip to content

yorkie/node-envm

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

node-envm Build Status

Environment management for nodejs

Installation

$ npm install envm

Usage

var env = require('envm')(module);
env.exports('test', function() {
  console.log('under test');
})

env.exports('production', function() {
  console.log('under production');
})

And then you should run your node process in this way:

$ NODE_ENV=test node app
> under test
$ NODE_ENV=production node app
> under production

License

MIT

About

environment management for nodejs

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published