lurq

npm package

Home

cli-truncate

cli-truncate is a utility for truncating strings to a specified width in terminal applications, while gracefully handling ANSI escape codes and Unicode characters. It is useful for ensuring that text fits within the confines of a terminal display without breaking formatting. This package can be integrated into applications that require formatted text output in a console environment.

lurq health score
74/100
Confidence
proven
Weekly downloads
54,591,477
Latest version
6.1.1
Last release
Jul 9, 2026
License
MIT

Should you depend on cli-truncate?

lurq's verdict: low

  • No known advisories

Check this from your coding agent

This page is a daily snapshot. lurq's verify tool checks cli-truncate 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 utility packages lurq scores

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