Package Exports
- is-heroku
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (is-heroku) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
is-heroku 
Check if your code is running on Heroku
Install
$ npm install --save is-heroku
Usage
var isHeroku = require('is-heroku');
// on your local computer
console.log(isHeroku);
//=> false
// on Heroku
console.log(isHeroku);
//=> true
Add an environment variable first to improve the detection:
$ heroku config:set HEROKU=1
License
MIT © Sindre Sorhus