extract-pdf 0.1.403 → 0.1.405

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +4 -0
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -37,6 +37,10 @@ For OCR-grade fidelity on pages with infographics, charts, and tables, the packa
37
37
  bun add extract-pdf
38
38
  ```
39
39
 
40
+ ## Cloudflare Workers demo
41
+
42
+ [`demo/`](./demo) is a ready-to-deploy Worker with an upload page and a `/api/convert` JSON endpoint. Run it with `cd demo && npm install && npm run dev`, then deploy with `npm run deploy`. See [demo/README.md](./demo/README.md) for the full hosting guide: CI deploys, custom domains, CPU limits and hardening.
43
+
40
44
  ## Usage
41
45
 
42
46
  ```ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "extract-pdf",
3
- "version": "0.1.403",
3
+ "version": "0.1.405",
4
4
  "description": "Convert a PDF (URL or ArrayBuffer) into clean HTML with structural tagging — headings, lists, footnotes, code blocks, bold/italic. Slim by default (PDF.js loads at runtime from the pdfjs-serverless CDN build), with optional Granite Docling OCR for pages with infographics/tables — in-process, hybrid, or via a remote processor URL. Works in Node.js, Cloudflare Workers, and browser environments.",
5
5
  "author": "vtempest <grokthiscontact@gmail.com>",
6
6
  "license": "rights.institute/PROSPER",