10 Best JavaScript YAML Parser Libraries

List hand-picked by Openbase Experts
Learn More

yam

yaml

JavaScript parser and stringifier for YAML

License Icon
License: ISC
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.6/ 5
10
Top Feedback
8Easy to Use
7Great Documentation
4Performant
GitHub Stars
502
Weekly Downloads
18M
Last Commit
1mo ago

js-yaml

JavaScript YAML parser and dumper. Very fast.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User Rating
4.6/ 5
10
Top Feedback
9Great Documentation
8Easy to Use
6Bleeding Edge
GitHub Stars
5K
Weekly Downloads
43M
Last Commit
6mos ago

gatsby-transformer-yaml

Build blazing fast, modern apps and websites with React

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
52K
Weekly Downloads
16K
Last Commit
1mo ago
gm

gray-matter

Smarter YAML front matter parser, used by metalsmith, Gatsby, Netlify, Assemble, mapbox-gl, phenomic, 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.

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
2K
Weekly Downloads
787K
Last Commit
9mos ago

yaml-ast-parser

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

License Icon
License: Apache-2.0
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
65
Weekly Downloads
2M
Last Commit
3yrs ago
yam

yamljs

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

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
837
Weekly Downloads
2M
Last Commit
2yrs ago
yup

yaml-unist-parser

A YAML parser that produces output compatible with unist

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
17
Weekly Downloads
39K
Last Commit
1yr ago
ny

node-yaml

A wrapper for js-yaml parser

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
23
Weekly Downloads
12K
Last Commit
2yrs ago
yy

yawn-yaml

YAML parser that preserves comments and styling

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
85
Weekly Downloads
5K
Last Commit
1yr ago
mym

markdown-yaml-metadata-parser

Parse YAML metadata (front matter) in a markdown document

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
23
Weekly Downloads
1K
Last Commit
1yr ago
nmf

next-mdx-frontmatter

Use MDX + front-matter with Next.js

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: DefinitelyTyped
User RatingN/A
Top Feedback
N/A
GitHub Stars
26
Weekly Downloads
178
Last Commit
6mos ago

sls-yaml

Serverless framework yaml extension compiler and more

License Icon
License: MIT
TypeScript Icon
TypeScript Definitions: Built-In
User RatingN/A
Top Feedback
N/A
GitHub Stars
1
Weekly Downloads
39
Last Commit
2yrs ago