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

0.0.4 • Public • Published

ultramatter

A <1kB library for parsing frontmatter. ultramatter has zero dependencies and is compatible with any JavaScript runtime.

Features

  • It's very small.
  • It's very fast.
  • It supports a small, relaxed subset of YAML
    • Maps (key: value)
    • Sequences (- list)
    • Inline Arrays ([0, 1, 2])
    • Literal Blocks (|)
    • Comments (# comment)
    • Quoted values ('single', "double")
    • Boolean values (true and false ONLY)
    • Tabs are valid

Package Sidebar

Install

npm i ultramatter

Weekly Downloads

599

Version

0.0.4

License

MIT

Unpacked Size

10.7 kB

Total Files

7

Last publish

Collaborators

  • natemoo-re