Check if your code is running on Heroku
MIT License
Bot releases are hidden (Show)
Published by sindresorhus over 2 years ago
https://github.com/sindresorhus/is-heroku/compare/v2.0.0...v3.0.0
Check if Electron is running in development
Check if your package was installed globally
Check if the process is running inside a Docker container
Check if the process is running in a Continuous Integration (CI) environment
Check if your code is running on Travis
Check if the internet connection is up
Check if your code is running as an npm or yarn script
Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc