Check if stdout or stderr is interactive
MIT License
Check if the process is running in a Continuous Integration (CI) environment
Check if the internet connection is up
Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc
Get stdin as a string or buffer
Display images in the terminal
Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)
The Sindre Sorhus CLI
Check if your code is running as an npm or yarn script
Detect whether the terminal supports Unicode
Process execution for humans
Check if something is a Node.js stream
ANSI escape codes for manipulating the terminal
Tiny process execution for humans — a better child_process