Package
dom-to-pdf
Generates a printable paginated pdf from DOM node using HTML5 canvas and svg.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 13.6k
- -49% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 2
- Direct, from package.json
- Last release
- 3 years ago
- v0.3.2
- GitHub stars
- 152
- 39 forks
- Open issues / PRs
- 2 / 3
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
13,625 downloads last week, 63,482 in the last month. The 12-month change of -49% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 0.3.2, 14 Feb 20233 years ago
- First published
- -
- Last push to GitHub
- 14 Jun 2024832 days before the snapshot
- Repository archived
- No
- Open issues
- 2
- Open pull requests
- 3
- Commits, last 52 weeks
- 0
- Dependents on npm
- 4
Major versions
-
Recent releases
-
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- 12 kB
- Dependencies (2)
jspdfdom-to-image
npm install dom-to-pdf- jsDelivr
https://cdn.jsdelivr.net/npm/dom-to-pdf@0.3.2/ - unpkg
https://unpkg.com/dom-to-pdf@0.3.2/ - esm.sh
https://esm.sh/dom-to-pdf@0.3.2
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @tanem/svg-injector | 232.4k | - | 24 days ago | ESM + CommonJS | - |
| react-svg | 232.1k | - | 24 days ago | ESM + CommonJS | - |
| rehype-dom-parse | 217.6k | - | 1 year ago | ESM only | - |
| rehype-dom-stringify | 210.6k | - | 1 year ago | ESM only | - |
| @xmldom/xmldom | 36.9m | - | 1 month ago | CommonJS | - |
| xmldom-sre | 136.1k | - | 3 years ago | CommonJS | - |
| dom-to-pptx | 38.4k | - | 10 days ago | ESM + CommonJS | - |
| css-select | 63.5m | - | 6 months ago | ESM only | - |
Indexability: Indexed.