Back to Explore

sindresorhus/is-interactive

GitHub
1 watchersOpen source

Last release:

Checks whether stdout or stderr is interactive by determining if the stream is a TTY (not a “dumb” terminal) and not running in a CI. Useful for deciding whether to show interactive terminal UI elements or animations in Node.js applications.

Project status

  • The source is likely in maintenance mode rather than actively evolving, with no published updates since v2.0.0 in 2021-05-03, and the latest observed upstream push on 2023-11-06.
  • Apparent update cadence is low, showing long gaps between tagged updates (v2.0.0 in 2021, v1.0.0 in 2019, v0.1.0 in 2019), with no evidence of frequent changes up to today (2026-06-09).

AI summary generated

AI-generated from public sources. May be inaccurate. Report

Recent updates

  • v2.0.0

    v2.0.0 converts the package to pure ESM, updates the Node.js engine requirement, and modernizes the test and tooling setup. The runtime logic for checking TTY/CI/dumb terminal behavior appears unchanged, but the module system and TypeScript type surface area changed.

    Breaking
  • v1.0.0

    The release is tagged v1.0.0, but the provided release notes claim there are no changes. The actual diff shows only metadata and a documentation wording fix.

  • v0.1.0

    This release (v0.1.0) does not include any meaningful release notes beyond an icon, so there is no documented information about features, fixes, or changes. Developers should review the corresponding commit history and changelog (if available) to determine what actually changed before upgrading.