Skip to content
JS
Package

dom-serialize

Serializes any DOM node into a String

v2.2.1, 5 Nov 2015MITCommonJSTypes: NoneDOM and browser utilities
$ npm install dom-serialize

Key numbers

As of 25 Sept 2026
Weekly downloads
3m
+1% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
4
Direct, from package.json
Last release
10 years ago
v2.2.1
GitHub stars
38
9 forks
Open issues / PRs
3 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
01m2m3m4mSept 2025Mar 2026Sept 2026High 3.5m (3 Mar 2026)Low 1.4m (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,955,971 downloads last week, 12,209,813 in the last month. The 12-month change of +1% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
08 in total
Latest version
2.2.1, 5 Nov 201510 years ago
First published
17 Jan 2015
Last push to GitHub
3 Aug 20192,609 days before the snapshot
Repository archived
No
Open issues
3
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
91

Major versions

  1. v2 first release 2.0.0, 4 Feb 2015
  2. v1 first release 1.1.0, 17 Jan 2015

Recent releases

VersionPublished
2.2.15 Nov 2015
2.2.013 Feb 2015
2.1.010 Feb 2015
2.0.14 Feb 2015
2.0.04 Feb 2015
1.2.14 Feb 2015
1.2.03 Feb 2015
1.1.017 Jan 2015
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
-
Dependencies (4)
entextendcustom-eventvoid-elements
npm install dom-serialize
  • jsDelivrhttps://cdn.jsdelivr.net/npm/dom-serialize@2.2.1/
  • unpkghttps://unpkg.com/dom-serialize@2.2.1/
  • esm.shhttps://esm.sh/dom-serialize@2.2.1
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.