upload stuff

This commit is contained in:
seb
2026-09-20 07:18:43 +02:00
parent 4011ebfc61
commit 5594c59d88
9 changed files with 249 additions and 344 deletions

View File

@@ -1,7 +1,8 @@
import { pdfToText } from 'pdftotext-wasm';
import { pdfToText, splitPdfPages } from 'pdfconvert-wasm';
export async function extractPdfText(pdfSource, options = { layout: true }) {
return pdfToText(pdfSource, options);
}
export { pdfToText };
export { pdfToText, splitPdfPages };