toml-matter
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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.

Package Sidebar

Install

npm i toml-matter

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

4.99 kB

Total Files

6

Last publish

Collaborators

  • colinbate