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
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Environment configuration loader for Lad
npm:
install @ladjs/env
yarn:
add @ladjs/env
t env = require('@ladjs/env')();
ole.log(env);
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
| Name | Website | | ————– | ————————– | | Nick Baugh | http://niftylettuce.com/ |