npm · npm:cli-width
cli-width active
Get stdout window width, with two fallbacks, tty and then a default.
The latest stable version of cli-width is 4.1.0, published on 2023-08-05. Verified by Vigia on 2026-11-12.
| Latest stable version | 4.1.0 |
|---|---|
| Published | 2023-08-05 16:14:01 UTC |
| Install | npm install cli-width@latest |
| Requires (engines) | {"node":">= 12"} |
| Peer dependencies | — |
| Dist-tags | latest: 4.1.0 |
| License | ISC |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 12:30:26 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2023-08-05 16:14:01 UTC · 1195 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 12 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
4.1.0 | 2023-08-05 16:14:01 UTC |
4.0.0 | 2022-03-29 13:37:09 UTC |
3.0.0 | 2020-04-14 15:23:18 UTC |
2.2.1 | 2020-04-14 15:11:14 UTC |
2.2.0 | 2017-08-22 13:46:06 UTC |
2.1.1 | 2017-08-22 13:28:51 UTC |
2.1.0 | 2016-02-15 21:10:15 UTC |
2.0.0 | 2016-02-08 14:34:40 UTC |
1.1.1 | 2016-01-26 00:31:16 UTC |
1.1.0 | 2015-10-16 12:28:23 UTC |
1.0.1 | 2015-01-22 14:29:57 UTC |
1.0.0 | 2015-01-21 20:33:19 UTC |
Showing the 12 most recent of 12 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 | 4.1.0 |
node 18 | 4.1.0 |
node 20 | 4.1.0 |
node 22 | 4.1.0 |
node 24 | 4.1.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-width?
The latest stable version of cli-width is 4.1.0, published on 2023-08-05. Verified by Vigia on 2026-11-12.
How do I install the latest version of cli-width?
Run npm install cli-width@latest. The latest stable version is 4.1.0 (verified 2026-11-12).
Is cli-width deprecated?
No. cli-width is not marked as deprecated in the registry.
Which Node.js version does cli-width require?
cli-width 4.1.0 declares this requirement: {"node":">= 12"}.
Does cli-width 4.1.0 have known vulnerabilities?
No known advisories affect cli-width 4.1.0 according to the data Vigia checks.
Is cli-width still maintained?
cli-width published 0 stable releases in the last 12 months; the most recent was 1195 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- which-collection
- @radix-ui/react-use-escape-keydown
- @swc/helpers
- dequal
- d3-scale
- data-view-byte-offset
- @radix-ui/react-portal
- @aws-sdk/util-user-agent-node
- @aws-sdk/core
- is-map
- is-path-inside
- decimal.js
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-width) [](https://vigia.coredls.cloud/npm/cli-width) [](https://vigia.coredls.cloud/npm/cli-width)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/cli-width
GET https://vigia.coredls.cloud/v1/packages/npm/cli-width/versions/{version}