0.0.2 • Published 6 years ago

@mcrowe/envy v0.0.2

Weekly downloads
8
License
ISC
Repository
github
Last release
6 years ago

envy

Typesafe environment variable tools for node.

Usage

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')
// ...

Development

Install npm modules:

npm install

Run tests:

npm test

Release

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.

0.0.2

6 years ago

0.0.1

6 years ago