dotenv-by-app
v0.1.9
Published
Helpers to better control and filter dotenv
Downloads
14
Readme
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.