JSPM

ultramatter

0.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 11729
  • Score
    100M100P100Q153509F
  • License MIT

Package Exports

  • ultramatter
  • ultramatter/package.json

Readme

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