All files / src index.ts

100% Statements 2/2
100% Branches 0/0
100% Functions 0/0
100% Lines 2/2

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 271x   1x                                                
import { PDFParse } from './PDFParse.js';
 
export { VerbosityLevel } from 'pdfjs-dist/legacy/build/pdf.mjs';
 
export type { DocumentInitParameters, PDFDataRangeTransport, PDFWorker, TypedArray } from 'pdfjs-dist/types/src/display/api.js';
export type { EmbeddedImage, ImageKindKey, ImageKindValue, ImageResult, PageImages } from './ImageResult.js';
export type { DateNode, InfoResult, Metadata, OutlineNode, PageLinkResult } from './InfoResult.js';
export type { ParseParameters } from './ParseParameters.js';
export type { Screenshot, ScreenshotResult } from './ScreenshotResult.js';
export type { PageTableResult, TableResult } from './TableResult.js';
export type { PageTextResult, TextResult } from './TextResult.js';
 
/**
 * 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 };