pdf-data-parser
Version:
Parse, search and stream PDF tabular data using Node.js with Mozilla's PDF.js library.
26 lines • 793 B
TypeScript
export default class PdfDataReader {
/**
*
* @param {Object} options
* @param {String|URL} options.url
* @param {String|ArrayBuffer} options.data
* @param {any} see PdfDataParser for all options
*/
constructor(options: {
url: string | URL;
data: string | ArrayBuffer;
});
options: {
url: string | URL;
data: string | ArrayBuffer;
};
_construct(callback: any): Promise<void>;
parser: PdfDataParser | undefined;
/**
* Fetch data from the underlying resource.
* @param {Number} size number of bytes to read asynchronously
*/
_read(size: number): Promise<void>;
}
import PdfDataParser from "./PdfDataParser.js";
//# sourceMappingURL=PdfDataReader.d.ts.map