Typesafe environment variable tools for node.
npm install @mcrowe/envy --save
import envy from '@mcrowe/envy'
const port = envy.int('PORT', 'Port to listen on')
const DB_URL = env.string('DB_URL', 'Database connection URL')
// ...
Install npm modules:
npm install
Run tests:
npm test
Release a new version:
bin/release.sh
This will publish a new version to npm, as well as push a new tag up to github.