Package
pdf-codec
Hand-written, dependency-minimal PDF codec: parses arbitrary real-world PDFs and generates new ones, built on its own codec-owned LayoutDocument item model and Zod 4 codecs.
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 7.4k
- - over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 4
- Direct, from package.json
- Last release
- today
- v5.2.27
- GitHub stars
- 1
- 0 forks
- Open issues / PRs
- 9 / 2
- Contributors
- -
- Commits, last 52 weeks
- 8,307
Downloads
Last week 2026-09-15 to 2026-09-21
7,352 downloads last week, 20,586 in the last month. No 52-week series has been fetched yet.
- Releases, last 12 months
- -
- Latest version
- 5.2.27, 25 Sept 2026today
- First published
- -
- Last push to GitHub
- 25 Sept 2026same day as the snapshot
- Repository archived
- No
- Open issues
- 9
- Open pull requests
- 2
- Commits, last 52 weeks
- 8,307
- Dependents on npm
- 4
Major versions
-
Recent releases
-
- Module format
- ESM + CommonJSFrom package.json type, main and exports fields
- TypeScript types
- Bundled
- Node.js engine range
- >=20
- Runtimes
- -
- Unpacked size (npm)
- 12.7 MB
- Dependencies (4)
zodfflatebyte-codecdocument-schema.js
npm install pdf-codec- jsDelivr
https://cdn.jsdelivr.net/npm/pdf-codec@5.2.27/ - unpkg
https://unpkg.com/pdf-codec@5.2.27/ - esm.sh
https://esm.sh/pdf-codec@5.2.27
| Package | Weekly downloads | Gzip | Last release | Module | Comparison |
|---|---|---|---|---|---|
| @file-viewer/renderer-pdf | 15.6k | - | 4 days ago | ESM only | - |
| chromiumly | 11.9k | - | 1 month ago | CommonJS | - |
| kordoc | 12.3k | - | today | ESM + CommonJS | - |
| @nosferatu500/textract | 11.1k | - | 3 years ago | CommonJS | - |
| @pdfme/common | 139.2k | - | 9 days ago | ESM only | - |
| @pdfme/schemas | 129.1k | - | 9 days ago | ESM only | - |
| @pdfme/generator | 118.1k | - | 9 days ago | ESM only | - |
| @pdfme/ui | 63k | - | 9 days ago | ESM only | - |
Indexability: Not indexed (discovery only): downloads_week 7352 < 10000.