NewYour coding agent can read the release notes before it upgrades.Set up the MCP server →
npm, #350 most downloaded on npm
Slice a string with ANSI escape codes
Latest stable
10.0.1
Last release 14 days ago
08 Nov 2026
Release timing varies
gaps range from 8 days to 1.9 years
Most releases are documented
notes for 14 of 19 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
19 releases · first in 2015
Drag across the ruler to compare, or tap a release to open it.
Fix slicing underline color sequences 9f87ee8
Use string-width for grapheme widths 8e0c8f4
Your coding agent can read these notes before it upgrades. Set up the MCP server →
Fix hyperlink left open when a new OSC 8 open replaces an active one 6385d7b
Make endSlice exclude partial wide graphemes 0895c86
endSlice exclude partial wide graphemes 0895c86
startSlice already excluded partial wide graphemes at the beginning.Use grapheme-safe slicing 12d42cc
Fix vulnerability in 7.1.1, see: chalk/chalk#656
Add TypeScript types 55ed49f v7.0.0...v7.1.0
Breaking Require Node.js 18 1d8c446 v6.0.0...v7.0.0
Improve performance ( #38 ) 29f76a4
This package is now pure ESM. Please read this .
Adjust string length for fullwidth characters when end is undefined (#27) 013d918
end is undefined (#27) 013d918https://github.com/chalk/slice-ansi/compare/v3.0.0...v4.0.0
Don't add extra escape when there's a space at the end 617d649
https://github.com/chalk/slice-ansi/compare/v2.1.0...v3.0.0
Accept true color escape sequences (#18) f4f3cc3
Require Node.js 6. https://github.com/chalk/slice-ansi/commit/c7ef17803f2a0490a8c9fae5a9f26b2bfce7ae56
Breaking:
Other:
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
One column per quarter.