npm · npm:gray-matter
gray-matter active
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
The latest stable version of gray-matter is 4.0.3, published on 2021-04-24. Verified by Vigia on 2026-11-12.
| Latest stable version | 4.0.3 |
|---|---|
| Published | 2021-04-24 03:06:31 UTC |
| Install | npm install gray-matter@latest |
| Requires (engines) | {"node":">=6.0"} |
| Peer dependencies | — |
| Dist-tags | latest: 4.0.3 |
| License | MIT |
| Advisories on latest version | none known |
| Last verified | 2026-11-12 15:49:21 UTC |
| Sources | api.deps.dev, registry.npmjs.org, registry.npmjs.org |
Is your project affected?
Check my whole package.jsonGet notified of new versions (Atom)Facts for my AGENTS.md
Free, no signup. Paste your manifest and see what is outdated, deprecated or vulnerable.
Maintenance
| Activity | dormant |
|---|---|
| Last stable release | 2021-04-24 03:06:31 UTC · 2029 days ago |
| Stable releases in the last 12 months | 0 |
| Published versions | 55 |
Heuristic based only on release dates; it does not measure issue or security response times.
Version history
| Version | Published |
|---|---|
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 |
Showing the 20 most recent of 55 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.0.3 |
node 18 | 4.0.3 |
node 20 | 4.0.3 |
node 22 | 4.0.3 |
node 24 | 4.0.3 |
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 gray-matter?
The latest stable version of gray-matter is 4.0.3, published on 2021-04-24. Verified by Vigia on 2026-11-12.
How do I install the latest version of gray-matter?
Run npm install gray-matter@latest. The latest stable version is 4.0.3 (verified 2026-11-12).
Is gray-matter deprecated?
No. gray-matter is not marked as deprecated in the registry.
Which Node.js version does gray-matter require?
gray-matter 4.0.3 declares this requirement: {"node":">=6.0"}.
Does gray-matter 4.0.3 have known vulnerabilities?
No known advisories affect gray-matter 4.0.3 according to the data Vigia checks.
Is gray-matter still maintained?
gray-matter published 0 stable releases in the last 12 months; the most recent was 2029 days ago. Activity: dormant.
Observed changes
No changes observed yet since Vigia started tracking this package.
Related packages
- remove-accents
- term-size
- @csstools/postcss-font-format-keywords
- @tiptap/extension-hard-break
- @dotenvx/dotenvx
- query-selector-shadow-dom
- @actions/github
- @storybook/addon-actions
- protocols
- @csstools/postcss-color-function
- @csstools/postcss-hwb-function
- esm
Badges for your README
Show the latest version, maintenance status and deprecation status of this package. Copy the Markdown:
[](https://vigia.coredls.cloud/npm/gray-matter) [](https://vigia.coredls.cloud/npm/gray-matter) [](https://vigia.coredls.cloud/npm/gray-matter)
For agents
GET https://vigia.coredls.cloud/v1/packages/npm/gray-matter
GET https://vigia.coredls.cloud/v1/packages/npm/gray-matter/versions/{version}