ladjs/env

Name: env

Owner: Lad

Description: Environment configuration loader for Lad

Created: 2017-09-15 07:24:47.0

Updated: 2018-03-26 18:53:06.0

Pushed: 2017-12-26 09:24:42.0

Homepage: https://lad.js.org

Size: 77

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

@ladjs/env

build status code coverage code style styled with prettier made with lass license

Environment configuration loader for Lad

Table of Contents
Install

npm:

install @ladjs/env

yarn:

 add @ladjs/env
Usage
t env = require('@ladjs/env')();

ole.log(env);
Options

You can pass any option as you otherwise would normally to dotenv-extended.

Here is the default option argument, note that it supports a .env.test path for TEST and TESTING environments as specified through process.env.NODE_ENV.

t env = require('@ladjs/env')({
lent: false,
rorOnMissing: true,
rorOnExtra: true

Contributors

| Name | Website | | ————– | ————————– | | Nick Baugh | http://niftylettuce.com/ |

License

MIT © Nick Baugh


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.