env-get
Simple utility to get environment variables with an optional default.
Throws an error if the variable is not found and no default is supplied.
This utility was designed to support twelve-factor applications and the strict separation of code and config.
Usage:
const env = ; // PORT not setconst port = env;console; // 4000 // TOKEN not setconst token = env; // throws Error // HOSTNAME setconst hostname = env; console; // blaing.io