UNPKG

pdf-parse-test

Version:

Pure TypeScript, cross-platform module for extracting text, images, and tabular data from PDFs. Run directly in your browser or in Node!

17 lines 657 B
import { PDFParse } from './PDFParse.js'; export { getHeader } from './HeaderResult.js'; export { VerbosityLevel } from 'pdfjs-dist/legacy/build/pdf.mjs'; /** * The URL of the PDF. * - * Binary PDF data. * Use TypedArrays (Uint8Array) to improve the memory usage. If PDF data is * BASE64-encoded, use `atob()` to convert it to a binary string first. * https://mozilla.github.io/pdf.js/examples/ * * NOTE: If TypedArrays are used they will generally be transferred to the * worker-thread. This will help reduce main-thread memory usage, however * it will take ownership of the TypedArrays. */ export { PDFParse }; //# sourceMappingURL=index.js.map