node-checkenv icon indicating copy to clipboard operation
node-checkenv copied to clipboard

Add bin file so we can check via npm script

Open zhaoyao91 opened this issue 8 years ago • 0 comments

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

zhaoyao91 avatar Aug 07 '17 08:08 zhaoyao91