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