Skip to content

package

gray-matter

v4.0.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. Used by metalsmith, assemble, verb and

node >=6.04 depscjstypesopen source
license
MIT
deps
4
unpacked
37.5 kB
files
14
node
>=6.0
npm install gray-matter@4.0.2

README

GitHub-flavored package documentation.

markdown
downloads

Across all versions, last 30 days.

14,434,533weekly+4.4%

54,566,984 in 30 days

Oct 16 → Nov 14
compatibility

Runtime metadata.

node>=6.0
cjstypes
keywords

Tagged topics.

assemblecoffeecoffee-scriptdatadocsdocumentationextractextractingfrontfront-matterfrontmattergenerate