Skip to content
JS
Package

diff2html

Fast Diff to colorized HTML

v3.4.56, 31 Jan 2026MITESM + CommonJSTypes: BundledParsers and serialisersTypeScript tooling
$ npm install diff2html

Key numbers

As of 25 Sept 2026
Weekly downloads
357.8k
+68% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
7 months ago
v3.4.56
GitHub stars
3.4k
303 forks
Open issues / PRs
16 / 18
Contributors
-
Commits, last 52 weeks
9

Downloads

Last week 2026-09-15 to 2026-09-21
0200k400k600kSept 2025Mar 2026Sept 2026High 592k (25 Aug 2026)Low 128.3k (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.

357,828 downloads last week, 1,894,366 in the last month. The 12-month change of +68% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
4138 in total
Latest version
3.4.56, 31 Jan 20267 months ago
First published
30 Aug 2014
Last push to GitHub
8 May 2026139 days before the snapshot
Repository archived
No
Open issues
16
Open pull requests
18
Commits, last 52 weeks
9
Dependents on npm
-

Major versions

  1. v3 first release 3.0.0, 5 Feb 2020
  2. v2 first release 2.0.0, 12 Jul 2016
  3. v1 first release 1.0.0, 6 Sept 2015
  4. v0 first release 0.1.1, 2 Sept 2014

Recent releases

VersionPublished
3.4.5631 Jan 2026
3.4.552 Jan 2026
3.4.542 Jan 2026
3.4.531 Jan 2026
3.4.527 Jul 2025
3.4.5123 Dec 2024
3.4.5023 Dec 2024
3.4.485 Apr 2024
3.4.4712 Jan 2024
3.4.4615 Dec 2023
3.4.455 Oct 2023
3.4.4429 Sept 2023
3.4.4319 Sept 2023
3.4.421 Sept 2023
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=12
Runtimes
-
Unpacked size (npm)
1.9 MB
Dependencies (2)
diff@profoundlogic/hogan
npm install diff2html

CDN

jsDelivr: 2m requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/diff2html@3.4.56/
  • unpkghttps://unpkg.com/diff2html@3.4.56/
  • esm.shhttps://esm.sh/diff2html@3.4.56
PackageWeekly downloadsGzipLast releaseModuleComparison
unbash8.7m-23 days agoESM only-
yuku-parser2.9m-1 day agoESM only-
media-captions283.3k-3 years agoESM only-
edn-data186.8k-2 months agoCommonJS-
bnf-parser39.7k-2 years agoESM only-
typescript-parser21.6k-8 years agoCommonJS-
@stacksjs/ts-xml18k-1 month agoESM only-
onesixty10.2k-6 months agoESM only-
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.