gray-matter v4.0.3

npm

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

Updated View on npm →
Version
4.0.3
15d ago
License
MIT
15d ago
Weekly Downloads
4.7M
2d ago
Dependencies
4
15d ago
Required Runtime
>=6.0
15d ago
Deprecated
No
15d ago

Weekly downloads

Release activity

1 release tracked. Last release: 15 days ago.

v4.0.3 current
v4.0.3 Mar 21, 2026

Last changed

Field Change When
weekly_downloads (none) 4699771 2d ago
dep_count (none) 4 15d ago
latest_version (none) 4.0.3 15d ago
license (none) MIT 15d ago
deprecated (none) false 15d ago
required_runtime (none) >=6.0 15d ago

Use it

REST API
$ curl
https://api.grounded-api.dev/v1/npm/gray-matter/latest_version
{ "value": "4.0.3" }
CLI
$ npx grounded-cli gray-matter
gray-matter@4.0.3 (npm)