Skip to content
JS
Package

svelte-pdf

svelte-pdf provides a component for rendering PDF documents using PDF.js

v2.0.2, 2 Nov 2025MITESM onlyTypes: BundledPDF and documentsSvelte
$ npm install svelte-pdf

Key numbers

As of 25 Sept 2026
Weekly downloads
2k
+174% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
10 months ago
v2.0.2
GitHub stars
259
52 forks
Open issues / PRs
6 / 11
Contributors
-
Commits, last 52 weeks
14

Downloads

Last week 2026-09-15 to 2026-09-21
01k2k3k4kSept 2025Mar 2026Sept 2026High 3.1k (18 Aug 2026)Low 685 (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.

1,966 downloads last week, 10,971 in the last month. The 12-month change of +174% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.0.2, 2 Nov 202510 months ago
First published
-
Last push to GitHub
24 Jun 202692 days before the snapshot
Repository archived
No
Open issues
6
Open pull requests
11
Commits, last 52 weeks
14
Dependents on npm
0

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)
46 kB
Dependencies (1)
pdfjs-dist
Peer dependencies (1)
svelte
npm install svelte-pdf
  • jsDelivrhttps://cdn.jsdelivr.net/npm/svelte-pdf@2.0.2/
  • unpkghttps://unpkg.com/svelte-pdf@2.0.2/
  • esm.shhttps://esm.sh/svelte-pdf@2.0.2
PackageWeekly downloadsGzipLast releaseModuleComparison
ngx-extended-pdf-viewer186.3k--ESM + CommonJS-
@embedpdf/engines385k-8 days agoESM + CommonJS-
@tato30/vue-pdf33k-1 month agoESM + CommonJS-
@embedpdf/fonts-arabic372.3k-8 months agoESM + CommonJS-
@embedpdf/fonts-hebrew370.4k-8 months agoESM + CommonJS-
@embedpdf/react-pdf-viewer158.1k-8 days agoESM + CommonJS-
@embedpdf/pdfium454.3k-8 days agoESM + CommonJS-
@embedpdf/fonts-kr373.1k-8 months agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 1966 < 10000.