ensure-dotenv
v1.0.0
Published
A package to ensure that you have set all your dotenv variables
Downloads
3
Readme
ensure-dotenv
A package to ensure that you have set all your dotenv variables
Install
npm install ensure-dotenv
Usage
require('ensure-dotenv')(['TOKEN', 'NODE_ENV']); // an error will be thrown if a variable is not set.
License
MIT © Kevin Hansen