pdf-inspector

Fast PDF classification and region-based text extraction (native Rust via napi).

Package Information

Released: 2 mo ago
Downloads: 0 weekly / 0 monthly
Latest Version: 0.1.1

Documentation

@drcomgenius/n8n-nodes-pdf-inspector

Fast PDF classification and region-based text extraction (native Rust via napi).

This is an n8n community node that wraps @firecrawl/pdf-inspector.

Installation

In n8n:

  1. Settings → Community Nodes → Install
  2. Enter @drcomgenius/n8n-nodes-pdf-inspector and click Install.

Or via npm in a self-hosted n8n:

npm install @drcomgenius/n8n-nodes-pdf-inspector

Operations

  • Classify PDF — Detects whether a PDF is TextBased, Scanned, ImageBased, or Mixed in ~10–50ms. Returns page count, per-page OCR routing, and a confidence score (0.0–1.0).
  • Extract Text in Regions — Extracts text within bounding-box regions on specified pages. Each region result includes a needsOcr flag so unreliable extractions can be routed to OCR.

Both operations read the PDF bytes from an incoming binary property.

Credentials

None. The underlying library runs fully locally — no API keys or services required.

Platform notes

@firecrawl/pdf-inspector ships prebuilt native binaries for Linux (x64/ARM64, glibc + musl), macOS ARM64, and Windows x64. n8n installs will pull the platform-appropriate binary automatically via npm optionalDependencies.

Compatibility

  • n8n >= 1.0
  • Node.js >= 20.15

License

MIT © DrComgenius

Discussion