cli-cursor is a small Node.js utility that lets you show, hide, or toggle the terminal (CLI) cursor. It can write to a specified output stream (by default process.stderr) and will restore the cursor when the process exits.
Project status
- The source
sindresorhus/cli-cursorappears to be in maintenance mode or quiet, with the most recent upstream update on 2024-07-26 (over 18 months ago as of 2026-06-09). - Update cadence is irregular, with major updates in 2019 (v3.x), 2021 (v4.0.0), and 2024 (v5.0.0), suggesting it is not actively shipping frequent changes right now.
AI summary generated
Recent updates
v5.0.0
Release v5.0.0 primarily enforces a newer runtime by requiring Node.js 18. The code changes also include several packaging and dependency updates that are not covered by the release notes.
Breakingv4.0.0
v4.0.0 converts cli-cursor to an ESM-only package and updates the Node.js support policy. In the actual code, it also changes the public export shape from named exports to a default-exported object, which is not explicitly called out in the release notes.
Breakingv3.1.0
v3.1.0 is presented as a maintenance release with dependency updates only and no user-facing changes. The diff shows a dependency upgrade (restore-cursor), CI configuration changes, and README edits to the documented API method signatures.
Breakingv3.0.0
v3.0.0 updates the project requirements and adds TypeScript support. The main developer-impacting change is a new minimum Node.js version requirement, which may require environment updates before upgrading.
BreakingFeatures