Environment variable manager
Managing environment variables can be a pain. Env helps make that better.
npm install env
Add an env.json file to your repo.
var env = require'env'envokif !err returnconsole.errorerrprocessexit1// Yes, it's SYNC, so you can do this too!if !err returnprocessexit1if envokhandleEnvvar port = envget'SETUP_PORT'serverlistenport
Env is sync like require, so it's tasks can be accomplished before app execution.