Check if your code is running on Heroku
MIT License
Check if your package was installed globally
Check if the process is running in a Continuous Integration (CI) environment
Check if your code is running on Travis
Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc
Check if Electron is running in development
Check if your code is running as an npm or yarn script
Check if the internet connection is up
Check if the process is running inside a Docker container