Package
pug
A clean, whitespace-sensitive template language for writing HTML
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 2.7m
- +76% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 8
- Direct, from package.json
- Last release
- 6 months ago
- v3.0.4
- 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
2,711,907 downloads last week, 13,741,477 in the last month. The 12-month change of +76% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- 112 in total
- Latest version
- 3.0.4, 13 Mar 20266 months ago
- First published
- 22 Aug 2013
- 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
- 4,390
Major versions
- v3 first release 3.0.0, 25 May 2020
- v2 first release 2.0.0, 6 Mar 2018
- v0 first release 0.0.0, 22 Aug 2013
Recent releases
| Version | Published |
|---|---|
| 3.0.4 | 13 Mar 2026 |
| 3.0.3 | 24 May 2024 |
| 3.0.2 | 28 Feb 2021 |
| 3.0.1 | 28 Feb 2021 |
| 3.0.0 | 25 May 2020 |
| 2.0.4 | 18 Jun 2019 |
| 2.0.3 | 21 Mar 2018 |
| 2.0.2 | 20 Mar 2018 |
| 2.0.1 | 8 Mar 2018 |
| 2.0.0 | 6 Mar 2018 |
| 0.1.0 | 12 Dec 2015 |
| 0.0.0 | 22 Aug 2013 |
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 22 kB
- Dependencies (8)
pug-loadpug-lexerpug-linkerpug-parserpug-filterspug-runtimepug-code-genpug-strip-comments
npm install pug- jsDelivr
https://cdn.jsdelivr.net/npm/pug@3.0.4/ - unpkg
https://unpkg.com/pug@3.0.4/ - esm.sh
https://esm.sh/pug@3.0.4
Indexability: Indexed.