Skip to content

gray-matter

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

No LLM SDK, agent framework or MCP dependency in its latest release, and none among the tracked dependencies.

npmLatest 4.0.3First release 2014-01-28Registry pageRepositoryChecked 2026-10-09

Advisories

Advisories that name gray-matter as affected. Advisory records do not state an ecosystem, so packages with the same name in other ecosystems also match. 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

Tracked packages that depend on it

Among the packages in the registry; not every dependent on npm.