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
Last release 16 days ago
18 Sep 2026
Release timing varies
gaps range from 2 months to 1.9 years
Most releases are documented
notes for 12 of 17 stable releases
Nothing withdrawn
no release was ever pulled
11 years old
17 releases · first in 2015
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.One column per quarter.
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
Don't add extra escape when there's a space at the end 617d649
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
Your coding agent can read these notes before it upgrades. Set up the MCP server →