gray-matter 1.2.2
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.
gray-matter@1.2.2 was published on 2015-02-07. Its manifest declares 3 runtime dependencies and 0 peer requirements. Bundled type declarations are not declared in the inspected metadata. The declared Node.js requirement is >=0.10.0.
All gray-matter versions · Permanent reference to 1.2.2 · Latest release
Package specifications
| Version | 1.2.2 |
|---|---|
| License declaration | MIT |
| Published | 2015-02-07T04:01:51.569Z |
| Node.js requirement | >=0.10.0 |
| Type declarations | Not declared |
| 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 | 13 |
| Repository stars | 4497 |
| Repository forks | 169 |
Install gray-matter 1.2.2
npm install gray-matter@1.2.2 pnpm add gray-matter@1.2.2 yarn add gray-matter@1.2.2
Runtime dependencies
- chalk ^0.5.1
- extend-shallow ^0.2.0
- js-yaml ^3.2.5
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.
- ansi-regex@0.2.1 — indirect
- ansi-styles@1.1.0 — indirect
- argparse@1.0.10 — indirect
- array-slice@0.2.3 — indirect
- chalk@0.5.1 — direct
- escape-string-regexp@1.0.5 — indirect
- esprima@4.0.1 — indirect
- extend-shallow@0.2.0 — direct
- has-ansi@0.1.0 — indirect
- js-yaml@3.15.2 — direct
- sprintf-js@1.0.3 — indirect
- strip-ansi@0.3.0 — indirect
- supports-color@0.2.0 — indirect
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/1.2.2 — retrieved 2026-10-31T16:34:21.011Z
- 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/1.2.2 — retrieved 2026-10-31T16:34:21.566Z
- https://api.deps.dev/v3/systems/npm/packages/gray-matter/versions/1.2.2:dependencies — retrieved 2026-10-31T16:34:21.599Z