0.2.5 • Published 5 years ago

@sackrin/env v0.2.5

Weekly downloads
15
License
MIT
Repository
github
Last release
5 years ago

Env

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 @sackrin/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.

0.2.5

5 years ago

0.2.4

5 years ago

0.2.3

5 years ago

0.2.2

5 years ago

0.2.0

5 years ago

0.1.9

5 years ago