gray-matter 1.2.1
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.1 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.1 · Latest release
Package specifications
| Version | 1.2.1 |
|---|---|
| License declaration | MIT |
| Published | 2015-02-07T03:05:53.890Z |
| 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 | Unknown |
| Resolved graph dependencies | Unknown |
| Repository stars | Unknown |
| Repository forks | Unknown |
Install gray-matter 1.2.1
npm install gray-matter@1.2.1 pnpm add gray-matter@1.2.1 yarn add gray-matter@1.2.1
Runtime dependencies
- chalk ^0.5.1
- extend-shallow ^0.2.0
- js-yaml ^3.2.5
Peer requirements
- None declared
Optional dependencies
- None declared
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.
Evidence and freshness
- https://registry.npmjs.org/gray-matter/1.2.1 — retrieved 2026-10-31T20:57:51.491Z