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. We may earn a commission when you buy through links labeled 'Ad' on this page.
Sorting:
- Detect whether the terminal supports Unicode☆87Sep 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 4 months ago
- ES2015 Math.imul() ponyfill☆11Oct 30, 2023Updated 2 years ago
- Check if a string is email like☆25Nov 11, 2025Updated 4 months ago
- Find semver versions in a string: `unicorn v1.2.3` → `1.2.3`☆19Apr 3, 2024Updated last year
- Get the version of a binary in semver format☆36Apr 3, 2024Updated last year
- Truncate a semver version: 1.2.3 → 1.2.0☆18Jul 9, 2022Updated 3 years ago
- Check if a file path is an archive file☆16Apr 30, 2024Updated last year
- Alphabetically sort an array of strings☆40Apr 9, 2021Updated 4 years ago
- 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
- Prepend `https://` to humanized URLs like `sindresorhus.com` and `file://` to file paths☆25Jul 9, 2022Updated 3 years ago
- Gracefully restore the CLI cursor on exit☆41Jul 26, 2024Updated last year
- Check if a path is a file, directory, or symlink☆80Feb 2, 2026Updated last month
- Get the URL from a web shortcut file☆14Aug 14, 2021Updated 4 years ago
- Get the first path that exists on disk of multiple paths☆63Sep 15, 2025Updated 6 months ago
- List of platforms supported by Node.js☆12Nov 3, 2021Updated 4 years ago
- Check if your code is running as an npm script☆55Sep 18, 2021Updated 4 years ago
- Get the avatar of a GitHub user☆21Oct 14, 2021Updated 4 years ago
- Create a noop process and get the PID☆14Aug 10, 2021Updated 4 years ago
- Get free disk space info from `df -kP`☆64Sep 13, 2025Updated 6 months ago
- Convert a path to a file url: `unicorn.jpg` → `file:///Users/sindresorhus/unicorn.jpg`☆28Aug 9, 2021Updated 4 years ago
- Replace matching strings and regexes in files☆179Sep 11, 2025Updated 6 months ago
- Simple wildcard matching☆34Sep 15, 2025Updated 6 months ago
- Prints the current date and time as a UNIX timestamp or custom format☆48Aug 10, 2021Updated 4 years ago
- Include only certain items in an array☆19Jun 13, 2025Updated 9 months ago
- Get the maximum permitted length of a path of a Unix domain socket☆14Aug 16, 2021Updated 4 years ago
- Check if a value is a Blob☆24Oct 27, 2023Updated 2 years ago
- Check if a value is a function☆29May 3, 2021Updated 4 years ago
- Check if a number is a redirect HTTP status code☆25Apr 17, 2021Updated 4 years ago
- Allow easy user configurations for your Alfred workflows☆40Aug 7, 2021Updated 4 years ago
- Modify the filename in a path☆17Jul 9, 2022Updated 3 years ago
- Creates a readable stream producing cryptographically strong pseudo-random data using `crypto.randomBytes()`☆78Aug 12, 2021Updated 4 years ago
- Check if a file path is a binary file☆49Apr 30, 2024Updated last year
- Check if something is a generator function☆24Jul 8, 2022Updated 3 years ago
- Get the passwd user entry from a username or uid☆30Jul 9, 2022Updated 3 years ago
- Turn an object into a string of HTML attributes☆50Mar 30, 2023Updated 2 years ago
- Get all emails in a text file or stdin☆25Feb 2, 2026Updated last month
- Move a file on the command-line☆74May 14, 2023Updated 2 years ago