@andrei137/load-dotenv
v0.0.4
Published
Loads .env and NODE_ENV
Readme
Exports .env and NODE_ENV to an object
import config from '@andrei137/load-dotenv';
// Example for additional arguments
// Command: NODE_ENV=test USER=admin VERBOSE=true node src/index.js
config
.add('USER')
.add('VERBOSE');