Skip to content

gray-matter

No advisory in the database names gray-matter (npm). No LLM component dependency is recorded for gray-matter (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

npmLatest 4.0.3First release 2014-01-28Registry pageRepositoryChecked 2026-11-05

Advisories

Advisories that name gray-matter as affected. For a version-exact check of your own dependencies, use Stack Check.

No advisory in the database names this package.

Dependencies of the latest release

As declared in npm metadata for version 4.0.3. Optional extras are listed with their extra name.

  • js-yaml
  • kind-of
  • section-matter
  • strip-bom-string