1.0.0 • Published 1 year ago

toml-matter v1.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

toml-matter

Parses the contents of a file with frontmatter written as TOML between two +++ delimiters.

The return value should be largely compatible with gray-matter.

There is a single exported function called matter.

You pass it a string. It gives you back an object with the frontmatter properties on data.