Skip to content
JS
Package

html-escaper

fast and safe way to escape and unescape &<>'" chars

v3.0.3, 18 Feb 2021MITESM onlyTypes: None
$ npm install html-escaper

Key numbers

As of 25 Sept 2026
Weekly downloads
64m
+90% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
5 years ago
v3.0.3
GitHub stars
-
Open issues / PRs
- / -
Contributors
-
Commits, last 52 weeks
-

Downloads

Last week 2026-09-15 to 2026-09-21
025m50m75m100mSept 2025Mar 2026Sept 2026High 89.4m (25 Aug 2026)Low 21.3m (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.

63,970,333 downloads last week, 319,633,983 in the last month. The 12-month change of +90% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
09 in total
Latest version
3.0.3, 18 Feb 20215 years ago
First published
8 Apr 2015
Last push to GitHub
-
Repository archived
-
Open issues
-
Open pull requests
-
Commits, last 52 weeks
-
Dependents on npm
1,123

Major versions

  1. v3 first release 3.0.0, 27 Mar 2020
  2. v2 first release 2.0.0, 25 Jul 2019
  3. v1 first release 1.0.0, 8 Apr 2015

Recent releases

VersionPublished
3.0.318 Feb 2021
3.0.218 Feb 2021
3.0.118 Feb 2021
3.0.027 Mar 2020
2.0.227 Mar 2020
2.0.121 Mar 2020
2.0.025 Jul 2019
1.0.16 Jun 2017
1.0.08 Apr 2015
Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
15 kB
Dependencies (0)
None
npm install html-escaper
  • jsDelivrhttps://cdn.jsdelivr.net/npm/html-escaper@3.0.3/
  • unpkghttps://unpkg.com/html-escaper@3.0.3/
  • esm.shhttps://esm.sh/html-escaper@3.0.3
Sources: npm registry, npm downloads API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): GitHub data not fetched yet; no category.