Skip to content
JS
Package

html-entities

Fastest HTML entities encode/decode library.

v2.6.0, 30 Mar 2025MITESM + CommonJSTypes: Bundled
$ npm install html-entities

Key numbers

As of 25 Sept 2026
Weekly downloads
32.2m
+54% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
1 year ago
v2.6.0
GitHub stars
685
86 forks
Open issues / PRs
2 / 6
Contributors
16
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020m40m60mSept 2025Mar 2026Sept 2026High 40.7m (25 Aug 2026)Low 12.7m (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.

32,176,563 downloads last week, 148,020,403 in the last month. The 12-month change of +54% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
048 in total
Latest version
2.6.0, 30 Mar 20251 year ago
First published
15 Feb 2013
Last push to GitHub
6 Apr 2025536 days before the snapshot
Repository archived
No
Open issues
2
Open pull requests
6
Commits, last 52 weeks
0
Dependents on npm
2,547

Major versions

  1. v2 first release 2.0.0, 28 Dec 2020
  2. v1 first release 1.0.0, 15 Feb 2013

Recent releases

VersionPublished
2.6.030 Mar 2025
2.5.630 Mar 2025
2.5.528 Mar 2025
2.5.428 Mar 2025
2.5.323 Mar 2025
2.5.24 Mar 2024
2.5.14 Mar 2024
2.5.03 Mar 2024
2.4.024 Jun 2023
2.3.613 Jun 2023
2.3.56 Jun 2023
2.3.45 Jun 2023
2.3.327 Mar 2022
2.3.229 Mar 2021
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
129 kB
Dependencies (0)
None
npm install html-entities

CDN

jsDelivr: 707.8k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/html-entities@2.6.0/
  • unpkghttps://unpkg.com/html-entities@2.6.0/
  • esm.shhttps://esm.sh/html-entities@2.6.0
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): no category.