Vigia

npm · npm:smartwrap

smartwrap 活跃

Textwrap for javascript/nodejs. Correctly handles wide characters (宽字符) and emojis (😃). Wraps strings with option to break on words.

smartwrap 的最新稳定版本是 4.0.0,发布于 2026-09-20。Vigia 于 2026-11-12 核实。

最新稳定版本4.0.0
发布时间2026-09-20 20:09:36 UTC
安装npm install smartwrap@latest
运行要求(engines){"node":">=22"}
Peer 依赖—
Dist 标签latest: 4.0.0
许可证MIT
最新版本的安全公告暂无已知
最近核实2026-11-12 12:49:53 UTC
来源api.deps.dev, registry.npmjs.org, registry.npmjs.org

维护情况

活跃度活跃
最近的稳定版本2026-09-20 20:09:36 UTC · 53 天前
过去 12 个月的稳定版本数2
已发布版本数26

仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。

版本历史

版本发布时间
4.0.02026-09-20 20:09:36 UTC
3.0.02026-09-20 08:50:56 UTC
2.0.22021-05-15 17:58:32 UTC
2.0.12020-03-09 11:48:10 UTC
2.0.0 已撤回2020-02-29 22:20:24 UTC
1.2.5 已撤回2020-02-25 21:04:40 UTC
1.2.4 已撤回2020-02-25 19:42:02 UTC
1.2.3 已撤回2020-02-14 18:00:45 UTC
1.2.2 已撤回2020-02-13 23:21:04 UTC
1.2.1 已撤回2020-01-09 19:06:07 UTC
1.2.0 已撤回2019-11-12 00:50:27 UTC
1.1.2 已撤回2019-11-03 17:57:45 UTC
1.1.1 已撤回2019-11-03 15:56:40 UTC
1.1.0 已撤回2019-08-28 17:13:04 UTC
1.0.12 已撤回2019-08-13 16:00:01 UTC
1.0.11 已撤回2019-01-13 06:53:47 UTC
1.0.10 已撤回2018-12-21 09:20:55 UTC
1.0.9 已撤回2017-06-09 22:58:17 UTC
1.0.8 已撤回2017-06-09 22:53:09 UTC
1.0.7 已撤回2017-06-07 14:35:02 UTC

显示 26 个版本中最新的 20 个。 JSON

版本兼容性

声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。

运行时最新兼容版本
node 163.0.0
node 183.0.0
node 203.0.0
node 224.0.0
node 244.0.0

把这些数据交给你的 AI 智能体

Vigia 是免费的 MCP 服务器:你的编程智能体在写代码之前就能检查版本、不兼容变更和安全漏洞。无需注册,无需 API 密钥。

claude mcp add --transport http vigia https://vigia.coredls.cloud/mcp

添加到 Cursor添加到 VS Code★ 在 GitHub 上加星

任何其他 MCP 客户端
{ "mcpServers": { "vigia": { "url": "https://vigia.coredls.cloud/mcp" } } }

智能体技能(SKILL.md):告诉智能体何时使用 Vigia · 用于拉取请求的 GitHub Action

常见问题

smartwrap 的最新版本是什么?

smartwrap 的最新稳定版本是 4.0.0,发布于 2026-09-20。Vigia 于 2026-11-12 核实。

如何安装 smartwrap 的最新版本?

运行 npm install smartwrap@latest。最新稳定版本是 4.0.0(2026-11-12 核实)。

smartwrap 是否已弃用?

否。注册表中 smartwrap 未被标记为已弃用。

smartwrap 需要哪个版本的 Node.js?

smartwrap 4.0.0 声明的要求为:{"node":">=22"}。

smartwrap 4.0.0 是否存在已知漏洞?

根据 Vigia 检查的数据,没有已知安全公告影响 smartwrap 4.0.0。

smartwrap 是否仍在维护?

smartwrap 在过去 12 个月内发布了 2 个稳定版本,最近一次在 53 天前。活跃度:活跃。

观察到的变更

自 Vigia 开始跟踪此软件包以来,尚未观察到变更。

相关软件包

用于 README 的徽章

展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:

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

供智能体使用

GET https://vigia.coredls.cloud/v1/packages/npm/smartwrap
GET https://vigia.coredls.cloud/v1/packages/npm/smartwrap/versions/{version}