Skip to content
JS
Package

pug

A clean, whitespace-sensitive template language for writing HTML

v3.0.4, 13 Mar 2026MITCommonJSTypes: NoneTemplating
$ npm install pug

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
02m4m6mSept 2025Mar 2026Sept 2026High 4.3m (21 Jul 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,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

  1. v3 first release 3.0.0, 25 May 2020
  2. v2 first release 2.0.0, 6 Mar 2018
  3. v0 first release 0.0.0, 22 Aug 2013

Recent releases

VersionPublished
3.0.413 Mar 2026
3.0.324 May 2024
3.0.228 Feb 2021
3.0.128 Feb 2021
3.0.025 May 2020
2.0.418 Jun 2019
2.0.321 Mar 2018
2.0.220 Mar 2018
2.0.18 Mar 2018
2.0.06 Mar 2018
0.1.012 Dec 2015
0.0.022 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
  • jsDelivrhttps://cdn.jsdelivr.net/npm/pug@3.0.4/
  • unpkghttps://unpkg.com/pug@3.0.4/
  • esm.shhttps://esm.sh/pug@3.0.4
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.