Check if stdout or stderr is interactive
MIT License
Bot releases are hidden (Show)
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
🦄
Detect whether the terminal supports Unicode
ANSI escape codes for manipulating the terminal
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
Check if the internet connection is up
The Sindre Sorhus CLI
Process execution for humans
Get stdin as a string or buffer
Display images in the terminal
Check if the process is running in a Continuous Integration (CI) environment
Check if the process is running inside Windows Subsystem for Linux (Bash on Windows)
Tiny process execution for humans — a better child_process
Check if something is a Node.js stream