Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6ccbfc8
commit ec8e858
Showing
4 changed files
with
20 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"ultramatter": patch | ||
--- | ||
|
||
Update readme |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,17 @@ | ||
# `ultramatter` | ||
|
||
A 700B library for parsing frontmatter. `ultramatter` has zero dependencies and is compatible with any JavaScript runtime. | ||
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, friendly subset of YAML (basically just what you need for writing frontmatter) | ||
- 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 |