is-heroku-bin
A CLI to check if your code is running on Heroku
Installation
$ npm install is-heroku-bin
Usage
In your package.json
:
{
"scripts": {
"prepare": "is-heroku || husky install"
}
}
Related Packages
- is-heroku - API for this module
- is-ci - Same thing but for other CI environments