Skip to content
JS
Package

yaml-front-matter

yaml front matter for JS. Parse yaml or JSON from the beginning of files.

v4.1.1, 13 Dec 2020MITESM + CommonJSTypes: NoneParsers and serialisers
$ npm install yaml-front-matter

Key numbers

As of 25 Sept 2026
Weekly downloads
58.3k
-23% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
5 years ago
v4.1.1
GitHub stars
194
18 forks
Open issues / PRs
6 / 15
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
050k100k150kSept 2025Mar 2026Sept 2026High 100.3k (21 Oct 2025)Low 41.9k (30 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

58,332 downloads last week, 291,034 in the last month. The 12-month change of -23% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
4.1.1, 13 Dec 20205 years ago
First published
-
Last push to GitHub
6 Jan 20231,357 days before the snapshot
Repository archived
No
Open issues
6
Open pull requests
15
Commits, last 52 weeks
0
Dependents on npm
263

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
209 kB
Dependencies (2)
js-yamlcommander
npm install yaml-front-matter
  • jsDelivrhttps://cdn.jsdelivr.net/npm/yaml-front-matter@4.1.1/
  • unpkghttps://unpkg.com/yaml-front-matter@4.1.1/
  • esm.shhttps://esm.sh/yaml-front-matter@4.1.1
PackageWeekly downloadsGzipLast releaseModuleComparison
json-to-pretty-yaml4.6m-8 years agoCommonJS-
world-countries221.1k-1 year agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.