Skip to content

natemoo-re/ultramatter

main
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

About

<1kB frontmatter parser that supports a reasonable subset of YAML

Resources

License

Stars

Watchers

Forks

Packages

No packages published