dotenv
module
Pre-configured
Installation
npm i @newobject/dotenv -S
Usage
- use
.env
for default configuration and.env.local
for local configuration - add
.env.local
file to.gitignore
- import
@newobject/dotenv/setup
into your code