Vigia

npm · npm:string-width

string-width active

Get the visual width of a string - the number of columns required to display it

The latest stable version of string-width is 9.0.0, published on 2026-11-11. Verified by Vigia on 2026-11-12.

Latest stable version9.0.0
Published2026-11-11 16:32:37 UTC
Installnpm install string-width@latest
Requires (engines){"node":">=22"}
Peer dependencies—
Dist-tagslatest: 9.0.0 version4: 4.2.3
LicenseMIT
Advisories on latest versionnone known
Last verified2026-11-12 13:10:32 UTC
Sourcesapi.deps.dev, registry.npmjs.org, registry.npmjs.org

Maintenance

Activityactive
Last stable release2026-09-24 14:37:52 UTC · 49 days ago
Stable releases in the last 12 months5
Published versions31

Heuristic based only on release dates; it does not measure issue or security response times.

Version history

VersionPublished
8.3.02026-09-24 14:37:52 UTC
8.2.22026-07-08 20:46:47 UTC
8.2.12026-04-27 05:27:21 UTC
8.2.02026-02-18 16:38:40 UTC
8.1.12026-01-29 03:42:41 UTC
8.1.02025-09-01 11:47:08 UTC
8.0.02025-08-22 06:09:04 UTC
7.2.02024-06-30 14:48:16 UTC
7.1.02024-01-22 10:48:05 UTC
7.0.02023-10-28 12:17:10 UTC
6.1.02023-05-06 19:32:57 UTC
6.0.02023-05-06 08:39:49 UTC
5.1.22022-02-28 08:22:05 UTC
5.1.12022-02-27 09:17:35 UTC
5.1.02022-01-09 06:04:14 UTC
4.2.32021-09-23 17:17:21 UTC
5.0.12021-09-13 16:35:04 UTC
5.0.02021-04-16 07:35:43 UTC
4.2.22021-02-28 14:22:14 UTC
4.2.12021-02-26 09:32:11 UTC

Showing the 20 most recent of 31 versions. JSON

Version compatibility

Newest stable version that declares support for each runtime version (from the requirements published with each version).

RuntimeNewest compatible version
node 166.1.0
node 187.2.0
node 208.3.0
node 228.3.0
node 248.3.0

Upgrade guides for this package

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 string-width?

The latest stable version of string-width is 9.0.0, published on 2026-11-11. Verified by Vigia on 2026-11-12.

How do I install the latest version of string-width?

Run npm install string-width@latest. The latest stable version is 9.0.0 (verified 2026-11-12).

Is string-width deprecated?

No. string-width is not marked as deprecated in the registry.

Which Node.js version does string-width require?

string-width 9.0.0 declares this requirement: {"node":">=22"}.

Does string-width 9.0.0 have known vulnerabilities?

No known advisories affect string-width 9.0.0 according to the data Vigia checks.

Is string-width still maintained?

string-width published 5 stable releases in the last 12 months; the most recent was 49 days ago. Activity: active.

Observed changes

Related packages

Badges for your README

Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:

[![version](https://vigia.coredls.cloud/badge/npm/string-width/version.svg)](https://vigia.coredls.cloud/npm/string-width)
[![maintained](https://vigia.coredls.cloud/badge/npm/string-width/maintained.svg)](https://vigia.coredls.cloud/npm/string-width)
[![status](https://vigia.coredls.cloud/badge/npm/string-width/status.svg)](https://vigia.coredls.cloud/npm/string-width)

For agents

GET https://vigia.coredls.cloud/v1/packages/npm/string-width
GET https://vigia.coredls.cloud/v1/packages/npm/string-width/versions/{version}