NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm · #822 most downloaded on npm
Truncate a string to a specific width in the terminal
Last release 2 months ago
09 Jul 2026
Release timing varies
gaps range from 2 weeks to 2.1 years
Most releases are documented
notes for 13 of 18 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
18 releases · first in 2016
Fix: Reserve room for the truncation character in preferTruncationOnSpace ( #34 ) f16fcab
Improve input validation b7b0bd7
One column per quarter.
Fix: Keep position: 'middle' within the column budget ( #32 ) f87490f
Breaking Require Node.js 22 9d77731 v5.2.0...v6.0.0
Update dependencies fc3c74e v5.1.1...v5.2.0
Fix truncation behavior for a single character ( #26 ) e06eefa
Style truncation character to inherit surrounding ANSI style aa504f6
Breaking Require Node.js 20 8a06900 Improvements Update dependencies 8a06900 v4.0.0...v5.0.0
Breaking Require Node.js 18 f72f8fa v3.1.0...v4.0.0
Add truncationCharacter option ( #19 ) 23b40dc
truncationCharacter option (#19) 23b40dcThis package is now pure ESM. Please read this.
https://github.com/sindresorhus/cli-truncate/compare/v2.1.0...v3.0.0
https://github.com/sindresorhus/cli-truncate/compare/v2.0.0...v2.1.0
https://github.com/sindresorhus/cli-truncate/compare/v2.0.0...v2.1.0
Add preferTruncationOnSpace option (#11) baf4461
Breaking:
Enhancements:
space option (#10) 7e0c356preferTruncationOnSpace option (#11) baf4461https://github.com/sindresorhus/cli-truncate/compare/v1.1.0...v2.0.0
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Nothing published for this version
Your coding agent can read these notes before it upgrades. Set up the MCP server →