lurq

npm package

Home

slice-ansi

slice-ansi is a utility for slicing strings that contain ANSI escape codes, ensuring that the visual representation remains intact. It is particularly useful when working with styled terminal output, allowing developers to extract specific portions of text without disrupting the formatting. This package is ideal for applications that need to manipulate styled strings in a terminal environment.

lurq health score
68/100
Confidence
proven
Weekly downloads
117,943,480
Latest version
9.0.0
Last release
Apr 4, 2026
License
MIT

Should you depend on slice-ansi?

lurq's verdict: low

  • No known advisories

Check this from your coding agent

This page is a daily snapshot. lurq's verify tool checks slice-ansi at the exact version your agent is about to install, and compat checks it against the rest of your stack. One command connects Claude Code, Cursor, VS Code and other agents:

npx lurqrun

Free to start. Quickstart

Other linting packages lurq scores

Scored from public signals (npm registry, GitHub, deps.dev and advisory databases). Data as of Sep 1, 2026; this page refreshes every 24 hours. Source repository.