npm · npm:twig
twig 活跃
JS port of the Twig templating language.
twig 的最新稳定版本是 3.0.0,发布于 2026-03-26。Vigia 于 2026-11-12 核实。
| 最新稳定版本 | 3.0.0 |
|---|---|
| 发布时间 | 2026-03-26 19:43:50 UTC |
| 安装 | npm install twig@latest |
| 运行要求(engines) | {"node":">=22"} |
| Peer 依赖 | — |
| Dist 标签 | latest: 3.0.0 |
| 许可证 | BSD-2-Clause |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-11-12 12:48:00 UTC |
| 来源 | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
维护情况
| 活跃度 | 放缓 |
|---|---|
| 最近的稳定版本 | 2026-03-26 19:43:50 UTC · 231 天前 |
| 过去 12 个月的稳定版本数 | 2 |
| 已发布版本数 | 65 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
3.0.0 | 2026-03-26 19:43:50 UTC |
2.0.0 | 2026-03-09 15:30:20 UTC |
1.17.1 | 2023-11-16 20:37:45 UTC |
1.17.0 | 2023-11-16 19:59:19 UTC |
1.16.0 | 2023-02-28 02:27:40 UTC |
1.15.4 | 2020-11-27 23:17:49 UTC |
1.15.3 | 2020-11-07 18:10:21 UTC |
1.15.2 | 2020-08-17 16:56:52 UTC |
1.15.1 | 2020-04-16 17:59:54 UTC |
1.15.0 | 2020-02-20 16:24:05 UTC |
1.14.0 | 2019-11-13 17:25:03 UTC |
1.13.3 | 2019-05-03 18:20:53 UTC |
1.13.2 | 2019-01-22 21:25:24 UTC |
1.13.1 | 2019-01-19 22:10:45 UTC |
1.13.0 | 2019-01-10 18:42:14 UTC |
1.12.0 | 2018-06-11 20:38:25 UTC |
1.11.1 | 2018-05-22 17:35:15 UTC |
1.11.0 | 2018-04-10 20:36:38 UTC |
1.10.5 | 2017-05-24 10:28:46 UTC |
1.10.4 | 2017-03-02 08:19:44 UTC |
显示 65 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
node 16 | 1.17.1 |
node 18 | 1.17.1 |
node 20 | 2.0.0 |
node 22 | 3.0.0 |
node 24 | 3.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" } } }常见问题
twig 的最新版本是什么?
twig 的最新稳定版本是 3.0.0,发布于 2026-03-26。Vigia 于 2026-11-12 核实。
如何安装 twig 的最新版本?
运行 npm install twig@latest。最新稳定版本是 3.0.0(2026-11-12 核实)。
twig 是否已弃用?
否。注册表中 twig 未被标记为已弃用。
twig 需要哪个版本的 Node.js?
twig 3.0.0 声明的要求为:{"node":">=22"}。
twig 3.0.0 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 twig 3.0.0。
twig 是否仍在维护?
twig 在过去 12 个月内发布了 2 个稳定版本,最近一次在 231 天前。活跃度:放缓。
观察到的变更
自 Vigia 开始跟踪此软件包以来,尚未观察到变更。
相关软件包
- @types/node-int64
- @rushstack/heft-config-file
- @amplitude/plugin-custom-enrichment-browser
- bezier-js
- @zag-js/element-size
- @backstage/config
- del-cli
- lorem-ipsum
- @stdlib/string-replace
- @hookform/devtools
- emotion-theming
- ts-object-utils
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/npm/twig) [](https://vigia.coredls.cloud/npm/twig) [](https://vigia.coredls.cloud/npm/twig)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/npm/twig
GET https://vigia.coredls.cloud/v1/packages/npm/twig/versions/{version}