heroku-open
v0.0.7
Published
Check if node is being run in heroku.
Downloads
13
Readme
Heroku Open?
This library provides an easy way to check if your node.js code is running online in heroku, and is under a kilobyte in size! First, install it with:
npm i heroku-open --save
Then, to use:
const herokuOpen = require("heroku-open");
herokuOpen(); //False in a development environment, true on heroku.