10 Best JavaScript YAML Parser Libraries

List hand-picked by Openbase Experts
Learn More

yam

JavaScript parser and stringifier for YAML

26.2M
817
Built-in
ISC
js-yaml

JavaScript YAML parser and dumper. Very fast.

58M
5.7K
DefinitelyTyped
MIT
gatsby-transformer-yaml

The fastest frontend for the headless web. Build modern websites with React.

14K
54.1K
No support
MIT
yaml-ast-parser

This is a fork of JS-YAML which supports parsing of YAML into AST

2.6M
70
Built-in
Apache-2.0
yam

Standalone JavaScript YAML 1.2 Parser & Encoder. Works under node.js and all major browsers. Also brings command line YAML/JSON conversion tools.

2.4M
851
DefinitelyTyped
MIT
gm

Smarter YAML front matter parser, used by metalsmith, Gatsby, Netlify, Assemble, mapbox-gl, phenomic, vuejs vitepress, TinaCMS, Shopify Polaris, Ant Design, Astro, hashicorp, garden, slidev, saber, sourcegraph, and many others. Simple to use, and battle tested. Parses YAML by default but can also parse JSON Front Matter, Coffee Front Matter, TOML Front Matter, and has support for custom parsers. Please follow gray-matter's author: https://github.com/jonschlinkert

978K
2.9K
Built-in
MIT
yaml-unist-parser

A YAML parser that produces output compatible with unist

50.9K
20
Built-in
MIT
ny

A wrapper for js-yaml parser

28.4K
25
No support
MIT
yy

YAML parser that preserves comments and styling

5.9K
DefinitelyTyped
MIT
mym

Parse YAML metadata (front matter) in a markdown document

2.2K
27
No support
MIT
nmf

Use MDX + front-matter with Next.js

129
27
No support
MIT
sls-yaml

Serverless framework yaml extension compiler and more

22
2
Built-in
MIT
Description
Author
License
Type Definitions
ESM Support
Tree Shakeable
Popularity
Downloads/wk
GitHub Stars
Reviews
User Rating
Voted Good Docs
Voted Easy of Use
Voted Performant
Top Positive Review
Top Negative Review
Issues
Total Issues
Open Issues
Avg Time to Close
Pull Requests
Total Pull Requests
Open Pull Requests
Avg Time to Merge
Community
Maintainers
Contributors
Contributors with 3+ commits
Top Committers
GitHub Forks
Versions
# of Versions
Latest
Next
Beta
Newest
Oldest
Major Every
Minor Every
Patch Every
Dependencies
Dependencies
Dev Dependencies
Links
More Info
README
Tutorials
Install Command
There's Nothing Here
No packages are selected.
Select a few packages to compare.