@sackrin/env

0.2.5 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @sackrin/env

Weekly Downloads

1

Version

0.2.5

License

MIT

Unpacked Size

16.2 kB

Total Files

24

Last publish

Collaborators

  • sackrin