Skip to content
JS
Package

html-loader

Html loader module for webpack

v5.1.0, 25 Jul 2024MITCommonJSTypes: NoneBundler plugins and loaders
$ npm install html-loader

Key numbers

As of 25 Sept 2026
Weekly downloads
1.3m
-6% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
2 years ago
v5.1.0
GitHub stars
1.2k
197 forks
Open issues / PRs
5 / 7
Contributors
-
Commits, last 52 weeks
14

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5m2mSept 2025Mar 2026Sept 2026High 2m (3 Mar 2026)Low 774.7k (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.

1,331,758 downloads last week, 5,573,625 in the last month. The 12-month change of -6% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
036 in total
Latest version
5.1.0, 25 Jul 20242 years ago
First published
24 Jan 2014
Last push to GitHub
27 Aug 202628 days before the snapshot
Repository archived
Yes
Open issues
5
Open pull requests
7
Commits, last 52 weeks
14
Dependents on npm
1,916

Major versions

  1. v5 first release 5.0.0, 16 Jan 2024
  2. v4 first release 4.0.0, 15 Jun 2022
  3. v3 first release 3.0.0, 21 Oct 2021
  4. v2 first release 2.0.0, 14 Feb 2021
  5. v1 first release 1.0.0, 19 Mar 2020
  6. v0 first release 0.1.0, 24 Jan 2014

Recent releases

VersionPublished
5.1.025 Jul 2024
5.0.016 Jan 2024
4.2.022 Sept 2022
4.1.011 Jul 2022
3.1.215 Jun 2022
4.0.015 Jun 2022
3.1.115 Jun 2022
3.1.08 Jan 2022
3.0.12 Nov 2021
3.0.021 Oct 2021
2.1.29 Mar 2021
2.1.124 Feb 2021
2.1.020 Feb 2021
2.0.014 Feb 2021
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
>= 18.12.0
Runtimes
-
Unpacked size (npm)
75 kB
Dependencies (2)
parse5html-minifier-terser
Peer dependencies (1)
webpack
npm install html-loader
  • jsDelivrhttps://cdn.jsdelivr.net/npm/html-loader@5.1.0/
  • unpkghttps://unpkg.com/html-loader@5.1.0/
  • esm.shhttps://esm.sh/html-loader@5.1.0
PackageWeekly downloadsGzipLast releaseModuleComparison
extract-loader34.1k-6 years agoCommonJS-
istanbul-instrumenter-loader296k-8 years agoCommonJS-
svg-inline-loader153.1k-6 years agoCommonJS-
val-loader85.4k-2 years agoCommonJS-
responsive-loader45k-3 years agoCommonJS-
file-loader11.3m-5 years agoCommonJS-
source-map-loader10.1m-2 years agoCommonJS-
url-loader5.9m-5 years agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.