Sovereign 8s.is mirror of standardgalactic/parse-pdf
  • TypeScript 100%
Find a file
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Lino Le Van a9b8d8472b
Some checks failed
ci / tests (push) Has been cancelled
Publish / publish (push) Has been cancelled
chore: bump pdf-js version
2025-11-07 15:46:30 -08:00
.github/workflows chore: first iteration of library 2025-06-23 15:06:59 -07:00
.zed chore: first iteration of library 2025-06-23 15:06:59 -07:00
test_data chore: first iteration of library 2025-06-23 15:06:59 -07:00
deno.json chore: bump pdf-js version 2025-11-07 15:46:30 -08:00
deno.lock chore: bump pdf-js version 2025-11-07 15:46:30 -08:00
LICENSE chore: first iteration of library 2025-06-23 15:06:59 -07:00
mod.ts feat: BREAKING split text by page of pdf 2025-10-31 14:39:12 -07:00
README.md chore: bump pdf-js version 2025-11-07 15:46:30 -08:00
test.ts feat: BREAKING split text by page of pdf 2025-10-31 14:39:12 -07:00

pdf-parse

A modern implementation of https://gitlab.com/autokent/pdf-parse. A thin wrapper on top of pdf-js, just like the original.

import parsePdf from "jsr:@lino/pdf-parse";

const { text, info } = await parsePdf(
  "https://github.com/mozilla/pdf.js/files/1340729/Hyphenator.pdf",
);
console.log(text, info);