node-checkenv
node-checkenv copied to clipboard
Add bin file so we can check via npm script
see another project https://www.npmjs.com/package/check-env
it support a useful usage:
{
"prestart": "check-env AWS_KEY MONGO_URL",
"start": "node index.js"
}
this way we can extract out the logic from the main app