Skip to content
JS
Package

js-yaml

YAML 1.2 parser and serializer

v5.4.2, 13 Sept 2026MITESM + CommonJSTypes: BundledParsers and serialisers
$ npm install js-yaml

Key numbers

As of 25 Sept 2026
Weekly downloads
222m
+100% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
12 days ago
v5.4.2
GitHub stars
6.6k
854 forks
Open issues / PRs
4 / 0
Contributors
85
Commits, last 52 weeks
312

Downloads

Last week 2026-09-15 to 2026-09-21
0100m200m300mSept 2025Mar 2026Sept 2026High 297.9m (25 Aug 2026)Low 78.1m (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

222,034,894 downloads last week, 1,079,058,383 in the last month. The 12-month change of +100% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
1991 in total
Latest version
5.4.2, 13 Sept 202612 days ago
First published
2 Nov 2011
Last push to GitHub
24 Sept 2026same day as the snapshot
Repository archived
No
Open issues
4
Open pull requests
0
Commits, last 52 weeks
312
Dependents on npm
29,169

Major versions

  1. v5 first release 5.0.0, 20 Jun 2026
  2. v4 first release 4.0.0, 3 Jan 2021
  3. v3 first release 3.0.0, 16 Dec 2013
  4. v2 first release 2.0.0, 9 Feb 2013
  5. v1 first release 1.0.0, 1 Jul 2012
  6. v0 first release 0.2.0, 2 Nov 2011

Recent releases

VersionPublished
5.4.213 Sept 2026
3.15.226 Aug 2026
4.3.226 Aug 2026
5.4.126 Aug 2026
5.4.025 Aug 2026
5.3.014 Aug 2026
5.2.31 Aug 2026
3.15.131 Jul 2026
4.3.131 Jul 2026
5.2.223 Jul 2026
5.2.12 Jul 2026
3.15.026 Jun 2026
4.3.026 Jun 2026
5.2.026 Jun 2026
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
1.5 MB
Dependencies (1)
argparse
npm install js-yaml

CDN

jsDelivr: 4.4m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/js-yaml@5.4.2/
  • unpkghttps://unpkg.com/js-yaml@5.4.2/
  • esm.shhttps://esm.sh/js-yaml@5.4.2
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.