Open zhaoyao91 opened 7 years ago
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
see another project https://www.npmjs.com/package/check-env
it support a useful usage:
this way we can extract out the logic from the main app