npm · npm:cli-truncate
cli-truncate active
Truncate a string to a specific width in the terminal
The latest stable version of cli-truncate is 6.2.0, published on 2026-10-31. Verified by Vigia on 2026-11-12.
| Latest stable version | 6.2.0 |
|---|---|
| Published | 2026-10-31 10:12:32 UTC |
| Install | npm install cli-truncate@latest |
| Requires (engines) | {"node":">=22"} |
| Peer dependencies | — |
| Dist-tags | latest: 6.2.0 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 10:35:10 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Maintenance
| Activity | active |
|---|---|
| Last stable release | 2026-10-31 10:12:32 UTC · 12 days ago |
| Stable releases in the last 12 months | 6 |
| Published versions | 19 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
6.2.0 | 2026-10-31 10:12:32 UTC |
6.1.1 | 2026-07-09 15:40:06 UTC |
6.1.0 | 2026-06-28 13:40:34 UTC |
6.0.1 | 2026-06-23 14:21:52 UTC |
6.0.0 | 2026-04-04 13:38:05 UTC |
5.2.0 | 2026-03-01 07:17:21 UTC |
5.1.1 | 2025-10-23 05:01:21 UTC |
5.1.0 | 2025-09-15 20:06:34 UTC |
5.0.0 | 2025-08-31 07:57:38 UTC |
4.0.0 | 2023-10-28 17:05:43 UTC |
3.1.0 | 2021-10-09 13:32:39 UTC |
3.0.0 | 2021-08-10 22:03:37 UTC |
2.1.0 | 2019-12-06 07:47:55 UTC |
2.0.0 | 2019-06-13 07:19:48 UTC |
1.1.0 | 2017-07-23 10:56:44 UTC |
1.0.0 | 2017-01-13 10:43:54 UTC |
0.2.1 | 2016-04-05 08:20:22 UTC |
0.2.0 | 2016-03-13 07:48:53 UTC |
0.1.0 | 2016-03-11 08:53:03 UTC |
Showing the 19 most recent of 19 versions. JSON
Version compatibility
Newest stable version that declares support for each runtime version (from the requirements published with each version).
| Runtime | Newest compatible version |
|---|---|
node 16 | 3.1.0 |
node 18 | 4.0.0 |
node 20 | 5.2.0 |
node 22 | 6.2.0 |
node 24 | 6.2.0 |
Give your AI agent these facts
Vigia is a free MCP server: your coding agent checks versions, breaking changes and vulnerabilities before it writes code. No signup, no API key.
claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp
Add to CursorAdd to VS Code★ Star on GitHub
Any other MCP client
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }Agent skill (SKILL.md): tells the agent when to use Vigia · GitHub Action for pull requests
Frequently asked questions
What is the latest version of cli-truncate?
The latest stable version of cli-truncate is 6.2.0, published on 2026-10-31. Verified by Vigia on 2026-11-12.
How do I install the latest version of cli-truncate?
Run npm install cli-truncate@latest. The latest stable version is 6.2.0 (verified 2026-11-12).
Is cli-truncate deprecated?
No. cli-truncate is not marked as deprecated in the registry.
Which Node.js version does cli-truncate require?
cli-truncate 6.2.0 declares this requirement: {"node":">=22"}.
Does cli-truncate 6.2.0 have known vulnerabilities?
No known advisories affect cli-truncate 6.2.0 according to the data Vigia checks.
Is cli-truncate still maintained?
cli-truncate published 6 stable releases in the last 12 months; the most recent was 12 days ago. Activity: active.
Observed changes
- Sat Oct 31 2026 10:19:11 GM +0000 (Coordinated Universal Time) — released 6.1.1 → 6.2.0
Related packages
- eslint-plugin-import
- @smithy/middleware-stack
- @tailwindcss/oxide
- @testing-library/dom
- webpack
- jest-snapshot
- @noble/hashes
- @csstools/css-tokenizer
- @smithy/util-retry
- fast-equals
- @smithy/url-parser
- serialize-javascript
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/cli-truncate) [](https://vigia.coredls.cloud/npm/cli-truncate) [](https://vigia.coredls.cloud/npm/cli-truncate)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/cli-truncate
GET https://vigia.coredls.cloud/v1/packages/npm/cli-truncate/versions/{version}