Check if stdout or stderr is interactive
☆119Nov 6, 2023Updated 2 years ago
Alternatives and similar repositories for is-interactive
Users that are interested in is-interactive are comparing it to the libraries listed below
Sorting:
- Detect whether the terminal supports Unicode☆88Sep 9, 2024Updated last year
- Cross-platform `/dev/null`☆94Oct 14, 2021Updated 4 years ago
- Get the bundle identifier of the default browser (macOS). Example: com.apple.Safari☆13Nov 14, 2025Updated 3 months ago
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 9, 2022Updated 3 years ago
- Get the version of a binary in semver format☆36Apr 3, 2024Updated last year
- Check if a string is email like☆25Nov 11, 2025Updated 3 months ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆19Apr 3, 2024Updated last year
- Check if a file path is an archive file☆16Apr 30, 2024Updated last year
- Create a readable Node.js stream that produces no data (or optionally blank data) or a writable stream that discards data☆53May 27, 2023Updated 2 years ago
- Get the passwd user entry from a username or uid☆30Jul 9, 2022Updated 3 years ago
- Creates a readable stream producing cryptographically strong pseudo-random data using `crypto.randomBytes()`☆78Aug 12, 2021Updated 4 years ago
- Replace matching strings and regexes in files☆178Sep 11, 2025Updated 5 months ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Check if a value is a function☆29May 3, 2021Updated 4 years ago
- Include only certain items in an array☆19Jun 13, 2025Updated 8 months ago
- Check if your code is running as an npm script☆56Sep 18, 2021Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆63Sep 15, 2025Updated 5 months ago
- Alphabetically sort an array of strings☆40Apr 9, 2021Updated 4 years ago
- ES2015 Math.imul() ponyfill☆11Oct 30, 2023Updated 2 years ago
- Get a random property from an object☆15Jul 2, 2024Updated last year
- Get the URL from a web shortcut file☆14Aug 14, 2021Updated 4 years ago
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Prints the current date and time as a UNIX timestamp or custom format☆48Aug 10, 2021Updated 4 years ago
- Simple wildcard matching☆34Sep 15, 2025Updated 5 months ago
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated last year
- Check if a value is a Blob☆24Oct 27, 2023Updated 2 years ago
- Get free disk space info from `df -kP`☆64Sep 13, 2025Updated 5 months ago
- Move a file on the command-line☆74May 14, 2023Updated 2 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated last month
- Split a string on the first occurrence of a given separator☆75Aug 20, 2025Updated 6 months ago
- List of platforms supported by Node.js☆12Nov 3, 2021Updated 4 years ago
- Get the iTerm2 version☆11Jan 5, 2026Updated last month
- Simple micro templating☆78Sep 16, 2025Updated 5 months ago
- Transform the first chunk in a stream☆28Nov 1, 2023Updated 2 years ago
- Modify the filename in a path☆17Jul 9, 2022Updated 3 years ago
- Detect the dominant newline character of a string☆56Sep 23, 2023Updated 2 years ago
- Convert a path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆28Aug 9, 2021Updated 4 years ago
- Exclude certain items from an array☆23Jun 13, 2025Updated 8 months ago