Skip to content
JS
Package

pug-parser

The pug parser (takes an array of tokens and converts it to an abstract syntax tree)

v6.0.0, 25 May 2020MIT-Types: NoneTemplating
$ npm install pug-parser

Key numbers

As of 25 Sept 2026
Weekly downloads
2.7m
+74% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
6 years ago
v6.0.0
GitHub stars
21.8k
1.9k forks
Open issues / PRs
300 / 35
Contributors
-
Commits, last 52 weeks
2

Downloads

Last week 2026-09-15 to 2026-09-21
02m4m6mSept 2025Mar 2026Sept 2026High 4.2m (16 Jun 2026)Low 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.

2,724,867 downloads last week, 13,763,432 in the last month. The 12-month change of +74% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
013 in total
Latest version
6.0.0, 25 May 20206 years ago
First published
12 Dec 2015
Last push to GitHub
13 Mar 2026195 days before the snapshot
Repository archived
No
Open issues
300
Open pull requests
35
Commits, last 52 weeks
2
Dependents on npm
-

Major versions

  1. v6 first release 6.0.0, 25 May 2020
  2. v5 first release 5.0.0, 8 Mar 2018
  3. v4 first release 4.0.0, 6 Sept 2017
  4. v3 first release 3.0.0, 2 Jun 2017
  5. v2 first release 2.0.0, 14 May 2016
  6. v1 first release 1.0.0, 23 Dec 2015
  7. v0 first release 0.0.0, 12 Dec 2015

Recent releases

VersionPublished
6.0.025 May 2020
5.0.118 Jun 2019
4.0.28 Mar 2018
5.0.08 Mar 2018
4.0.16 Mar 2018
4.0.06 Sept 2017
3.0.11 Aug 2017
3.0.02 Jun 2017
2.0.224 Jan 2017
2.0.11 Jun 2016
2.0.014 May 2016
1.0.023 Dec 2015
0.0.012 Dec 2015
Module format
-Not determined from package.json
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
35 kB
Dependencies (2)
pug-errortoken-stream
npm install pug-parser
  • jsDelivrhttps://cdn.jsdelivr.net/npm/pug-parser@6.0.0/
  • unpkghttps://unpkg.com/pug-parser@6.0.0/
  • esm.shhttps://esm.sh/pug-parser@6.0.0
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.