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
- Actively maintained, with an upstream push on 2024-07-26 and a recent major update (v5.0.0).
- Update cadence appears sparse but ongoing, with major updates at 2019-06-11 (v3.1.0), 2021-08-23 (v4.0.0), and 2024-07-26 (v5.0.0), roughly every 2 to 3 years.
AI summary generated Today
Recent updates
v5.0.0
7/26/2024Release 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
8/23/2021v4.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
6/11/2019v3.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
4/9/2019v3.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