gray-matter 3.0.3
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@3.0.3 was published on 2017-08-19. Its manifest declares 3 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=4.
All gray-matter versions · Permanent reference to 3.0.3 · Latest release
Package specifications
| Version | 3.0.3 |
|---|---|
| License declaration | MIT |
| Published | 2017-08-19T17:55:34.872Z |
| Node.js requirement | >=4 |
| Type declarations | Bundled declarations |
| Runtime dependency count | 3 |
| Peer requirement count | 0 |
| Optional dependency count | 0 |
| Minified size | Measurement not available yet |
| Minified + gzip | Measurement not available yet |
| Unpacked distribution size | Not supplied |
| Published file count | Not supplied |
| Package type | Not declared |
| ES module entry | Not declared |
| Default entry | index.js |
| Side effects declaration | Not declared |
| Direct advisories | 0 |
| Resolved graph dependencies | 6 |
| Repository stars | 4497 |
| Repository forks | 169 |
Install gray-matter 3.0.3
npm install gray-matter@3.0.3 pnpm add gray-matter@3.0.3 yarn add gray-matter@3.0.3
Runtime dependencies
- js-yaml ^3.8.1
- kind-of ^5.0.0
- strip-bom-string ^1.0.0
Peer requirements
- None declared
Optional dependencies
- None declared
Resolved dependency graph
This deps.dev graph describes a generic 64-bit Linux environment, not your application lockfile.
- argparse@1.0.10 — indirect
- esprima@4.0.1 — indirect
- js-yaml@3.15.2 — direct
- kind-of@5.1.0 — direct
- sprintf-js@1.0.3 — indirect
- strip-bom-string@1.0.0 — direct
How to interpret the specifications
Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.
Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.
OpenSSF repository checks
Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.
| Code-Review | 3/10 — Found 6/16 approved changesets -- score normalized to 3 |
|---|---|
| Maintained | 0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0 |
| Binary-Artifacts | 10/10 — no binaries found in the repo |
| CII-Best-Practices | 0/10 — no effort to earn an OpenSSF best practices badge detected |
| Fuzzing | 0/10 — project is not fuzzed |
| License | 10/10 — license file detected |
| Branch-Protection | 0/10 — branch protection not enabled on development/release branches |
| SAST | 0/10 — SAST tool is not run on all commits -- score normalized to 0 |
| Security-Policy | 0/10 — security policy file not detected |
Evidence and freshness
- https://registry.npmjs.org/gray-matter/3.0.3 — retrieved 2026-10-31T17:06:58.505Z
- https://api.deps.dev/v3/projects/github.com%2Fjonschlinkert%2Fgray-matter — retrieved 2026-10-31T14:39:23.845Z
- https://api.deps.dev/v3/systems/npm/packages/gray-matter/versions/3.0.3 — retrieved 2026-10-31T17:06:58.944Z
- https://api.deps.dev/v3/systems/npm/packages/gray-matter/versions/3.0.3:dependencies — retrieved 2026-10-31T17:06:59.001Z