npm · npm:gray-matter
gray-matter 活跃
Parse front-matter from a string or file. Fast, reliable and easy to use. Parses YAML front matter by default, but also has support for YAML, JSON, TOML or Coffee Front-Matter, with options to set custom delimiters. Used by metalsmith, assemble, verb and
gray-matter 的最新稳定版本是 4.0.3,发布于 2021-04-24。Vigia 于 2026-11-12 核实。
| 最新稳定版本 | 4.0.3 |
|---|---|
| 发布时间 | 2021-04-24 03:06:31 UTC |
| 安装 | npm install gray-matter@latest |
| 运行要求(engines) | {"node":">=6.0"} |
| Peer 依赖 | — |
| Dist 标签 | latest: 4.0.3 |
| 许可证 | MIT |
| 最新版本的安全公告 | 暂无已知 |
| 最近核实 | 2026-11-12 15:49:21 UTC |
| 来源 | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
维护情况
| 活跃度 | 停滞 |
|---|---|
| 最近的稳定版本 | 2021-04-24 03:06:31 UTC · 2029 天前 |
| 过去 12 个月的稳定版本数 | 0 |
| 已发布版本数 | 55 |
仅根据发布时间估算,不反映对 issue 或安全问题的响应速度。
版本历史
| 版本 | 发布时间 |
|---|---|
4.0.3 | 2021-04-24 03:06:31 UTC |
4.0.2 | 2019-01-11 02:44:15 UTC |
4.0.1 | 2018-04-02 03:40:34 UTC |
4.0.0 | 2018-04-02 03:34:46 UTC |
3.1.1 | 2017-10-21 02:01:24 UTC |
3.1.0 | 2017-10-19 15:36:56 UTC |
3.0.8 | 2017-10-05 23:52:31 UTC |
3.0.7 | 2017-09-22 01:39:37 UTC |
3.0.6 | 2017-09-15 03:21:21 UTC |
3.0.5 | 2017-09-14 23:33:36 UTC |
3.0.4 | 2017-09-14 23:28:44 UTC |
3.0.3 | 2017-08-19 17:55:34 UTC |
3.0.2 | 2017-07-01 05:41:11 UTC |
3.0.1 | 2017-06-30 18:07:39 UTC |
3.0.0 | 2017-06-30 09:10:16 UTC |
2.1.1 | 2017-02-25 23:01:22 UTC |
2.1.0 | 2016-10-25 10:28:29 UTC |
2.0.2 | 2015-11-14 21:54:18 UTC |
2.0.1 | 2015-07-17 00:15:07 UTC |
2.0.0 | 2015-03-26 04:47:43 UTC |
显示 55 个版本中最新的 20 个。 JSON
版本兼容性
声明支持各运行时版本的最新稳定版本(依据每个版本发布的要求)。
| 运行时 | 最新兼容版本 |
|---|---|
node 16 | 4.0.3 |
node 18 | 4.0.3 |
node 20 | 4.0.3 |
node 22 | 4.0.3 |
node 24 | 4.0.3 |
把这些数据交给你的 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" } } }常见问题
gray-matter 的最新版本是什么?
gray-matter 的最新稳定版本是 4.0.3,发布于 2021-04-24。Vigia 于 2026-11-12 核实。
如何安装 gray-matter 的最新版本?
运行 npm install gray-matter@latest。最新稳定版本是 4.0.3(2026-11-12 核实)。
gray-matter 是否已弃用?
否。注册表中 gray-matter 未被标记为已弃用。
gray-matter 需要哪个版本的 Node.js?
gray-matter 4.0.3 声明的要求为:{"node":">=6.0"}。
gray-matter 4.0.3 是否存在已知漏洞?
根据 Vigia 检查的数据,没有已知安全公告影响 gray-matter 4.0.3。
gray-matter 是否仍在维护?
gray-matter 在过去 12 个月内发布了 0 个稳定版本,最近一次在 2029 天前。活跃度:停滞。
观察到的变更
自 Vigia 开始跟踪此软件包以来,尚未观察到变更。
相关软件包
- remove-accents
- term-size
- @csstools/postcss-font-format-keywords
- @tiptap/extension-hard-break
- @dotenvx/dotenvx
- query-selector-shadow-dom
- @storybook/addon-actions
- @actions/github
- protocols
- @csstools/postcss-color-function
- @csstools/postcss-hwb-function
- esm
用于 README 的徽章
展示此软件包的最新版本、维护状态以及是否已弃用。复制 Markdown:
[](https://vigia.coredls.cloud/npm/gray-matter) [](https://vigia.coredls.cloud/npm/gray-matter) [](https://vigia.coredls.cloud/npm/gray-matter)
供智能体使用
GET https://vigia.coredls.cloud/v1/packages/npm/gray-matter
GET https://vigia.coredls.cloud/v1/packages/npm/gray-matter/versions/{version}