Check if stdout or stderr is interactive
MIT License
Bot releases are visible (Hide)
Published by sindresorhus over 3 years ago
https://github.com/sindresorhus/is-interactive/compare/v1.0.0...v2.0.0
Published by sindresorhus about 5 years ago
https://github.com/sindresorhus/is-interactive/compare/v0.1.0...v1.0.0
Published by sindresorhus over 5 years ago
🦄
Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)
Check if your code is running as an npm or yarn script
Process execution for humans
ANSI escape codes for manipulating the terminal
Check if something is a Node.js stream
Display images in the terminal
Check if the internet connection is up
Check which JavaScript environment your code is running in at runtime: browser, Node.js, Bun, etc
Check if the process is running in a Continuous Integration (CI) environment
Tiny process execution for humans — a better child_process
Get stdin as a string or buffer
The Sindre Sorhus CLI
Detect whether the terminal supports Unicode