Skip to content
JS
Package

svg2pdf.js

A javascript-only SVG to PDF conversion utility that runs in the browser leveraging jsPDF

v2.8.1, 31 Aug 2026MITESM onlyTypes: BundledPDF and documentsImage processing
$ npm install svg2pdf.js

Key numbers

As of 25 Sept 2026
Weekly downloads
192k
+580% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
4
Direct, from package.json
Last release
24 days ago
v2.8.1
GitHub stars
837
118 forks
Open issues / PRs
32 / 4
Contributors
-
Commits, last 52 weeks
47

Downloads

Last week 2026-09-15 to 2026-09-21
0100k200k300kSept 2025Mar 2026Sept 2026High 290.5k (8 Sept 2026)Low 28k (7 Oct 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

192,009 downloads last week, 877,678 in the last month. The 12-month change of +580% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.8.1, 31 Aug 202624 days ago
First published
-
Last push to GitHub
31 Aug 202624 days before the snapshot
Repository archived
No
Open issues
32
Open pull requests
4
Commits, last 52 weeks
47
Dependents on npm
63

Major versions

-

Recent releases

-

Module format
ESM onlyFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
2.3 MB
Dependencies (4)
cssescsvgpathspecificityfont-family-papandreou
Peer dependencies (1)
jspdf
npm install svg2pdf.js

CDN

jsDelivr: 247.4k requests in 30 days
  • jsDelivrhttps://cdn.jsdelivr.net/npm/svg2pdf.js@2.8.1/
  • unpkghttps://unpkg.com/svg2pdf.js@2.8.1/
  • esm.shhttps://esm.sh/svg2pdf.js@2.8.1
PackageWeekly downloadsGzipLast releaseModuleComparison
image-to-pdf17k-1 year agoESM + CommonJS-
pdfjs74.6k-1 year agoCommonJS-
jspdf-autotable2.9m-4 months agoESM + CommonJS-
pdfkit-table60.1k-4 months agoCommonJS-
canvas5.7m-5 months agoCommonJS-
@embedpdf/engines385k-8 days agoESM + CommonJS-
google-docs-mustaches11.4k-5 years agoCommonJS-
@embedpdf/fonts-arabic372.3k-8 months agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API, jsDelivr. Data fetched 25 Sept 2026.

Indexability: Indexed.