Check if a string is HTML
Repositories
sindresorhus repositories
Check if you're running in Hyper
Check if a string is a valid JavaScript identifier
Check if a file path is an image
Check if the process is running in a Continuous Integration (CI) environment
Check if the process is running in an SSH session
Check if the process is running inside a container (Docker/Podman)
Check if your package was installed globally
Check if stdout or stderr is interactive
[DEPRECATED] Check if the runtime is io.js instead of Node.js
Check if a string is an IP address
Check if a Buffer/Uint8Array is a JPEG image
Check if your code is running in a JXA environment
Check if a Buffer/Uint8Array is a JPEG XR image
Check if the system is in low power mode
Check if a filepath is a Markdown file
Check if a value is a Fetch network error
Check if your code is running as an npm or yarn script
Check if your code is running as an npm script
Check if a value is an object