0.0.3 • Published 11 years ago
envm v0.0.3
node-envm 
Environment management for nodejs
Installation
$ npm install envmUsage
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 productionLicense
MIT