@mcrowe/envy
TypeScript icon, indicating that this package has built-in type declarations

0.0.2 • Public • Published

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.

/@mcrowe/envy/

    Package Sidebar

    Install

    npm i @mcrowe/envy

    Weekly Downloads

    146

    Version

    0.0.2

    License

    ISC

    Last publish

    Collaborators

    • mcrowe