Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/natemoo-re/ultramatter
<1kB frontmatter parser that supports a reasonable subset of YAML
https://github.com/natemoo-re/ultramatter
Last synced: 29 days ago
JSON representation
<1kB frontmatter parser that supports a reasonable subset of YAML
- Host: GitHub
- URL: https://github.com/natemoo-re/ultramatter
- Owner: natemoo-re
- License: mit
- Created: 2023-01-29T00:30:40.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2023-02-06T12:12:11.000Z (almost 2 years ago)
- Last Synced: 2024-05-01T23:20:34.670Z (8 months ago)
- Language: TypeScript
- Homepage:
- Size: 50.8 KB
- Stars: 123
- Watchers: 3
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
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