dotenv-by-app

0.1.9 • Public • Published

dotenv-by-app

A simple library designed to use dotenv to load in and filter env files. Useful if you have a applications where you want the ability to control which env vars are parsed.

Install Dependency

npm i --save dotenv-by-app

Methods

loadEnv('/path/to/.env')

Use this method to load in the env files.

getEnv(['SOME_KEY', 'SOME_OTHER_KEY])

Use this to determine which vars you are after.

Readme

Keywords

none

Package Sidebar

Install

npm i dotenv-by-app

Weekly Downloads

0

Version

0.1.9

License

MIT

Unpacked Size

13.8 kB

Total Files

24

Last publish

Collaborators

  • sackrin