pdf2json 4.0.3

PDF file parser that converts PDF binaries to JSON and text, powered by porting a fork of PDF.JS to Node.js

pdf2json@4.0.3 was published on 2026-04-16. Its manifest declares 0 runtime dependencies and 0 peer requirements. Type declarations are bundled according to the package metadata. The declared Node.js requirement is >=20.18.0.

All pdf2json versions · Permanent reference to 4.0.3 · Latest release

Package specifications

Version4.0.3
License declarationApache-2.0
Published2026-04-16T01:48:54.289Z
Node.js requirement>=20.18.0
Type declarationsBundled declarations
Runtime dependency count0
Peer requirement count0
Optional dependency count0
Minified sizeMeasurement not available yet
Minified + gzipMeasurement not available yet
Unpacked distribution size8011.32 KiB
Published file count12
Package typemodule
ES module entry./dist/pdfparser.js
Default entry./dist/pdfparser.cjs
Side effects declarationNot declared
Direct advisories0
Resolved graph dependenciesUnknown
Repository stars2216
Repository forks395

Install pdf2json 4.0.3

npm install pdf2json@4.0.3
pnpm add pdf2json@4.0.3
yarn add pdf2json@4.0.3

Runtime dependencies

  • None declared

Peer requirements

  • None declared

Optional dependencies

  • None declared

How to interpret the specifications

Bundlephobia measurements use its standard package build and may exclude peer dependencies. Unpacked npm distribution size includes shipped files and is a different measurement. Module declarations do not prove tree-shaking or runtime compatibility.

Advisories apply to this package version directly; transitive dependencies need separate inspection. Repository signals describe the whole repository and are current observations, including on historical-version pages.

OpenSSF repository checks

Provider assessment: 2026-08-24T00:00:00Z. These are repository checks, not a jsL maintenance score.

Dangerous-Workflow10/10 — no dangerous workflow patterns detected
Code-Review0/10 — Found 1/29 approved changesets -- score normalized to 0
Maintained0/10 — 0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Token-Permissions0/10 — detected GitHub workflow tokens with excessive permissions
CII-Best-Practices0/10 — no effort to earn an OpenSSF best practices badge detected
License9/10 — license file detected
Security-Policy0/10 — security policy file not detected
SAST0/10 — SAST tool is not run on all commits -- score normalized to 0
Fuzzing0/10 — project is not fuzzed
Binary-Artifacts10/10 — no binaries found in the repo
Pinned-Dependencies0/10 — dependency not pinned by hash detected -- score normalized to 0

Evidence and freshness