is-heroku-bin

v1.0.0
A CLI to check if your code is running on Heroku
check cli bin detect env environment heroku is

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
npm i is-heroku-bin

Metadata

  • MIT
  • Whatever
  • Chee Shian Chuah
  • released 6/25/2022

Downloads

Maintainers