1.0.5 • Published 6 months ago
@types/word-extractor v1.0.5
Installation
npm install --save @types/word-extractor
Summary
This package contains type definitions for word-extractor (https://github.com/morungos/node-word-extractor).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/word-extractor.
index.d.ts
// Type definitions for word-extractor 1.0
// Project: https://github.com/morungos/node-word-extractor
// Definitions by: Rodrigo Saboya <https://github.com/saboya>
// Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped
declare class WordExtractor {
extract(documentPath: string | Uint8Array): Promise<WordExtractor.Document>;
}
export = WordExtractor;
declare namespace WordExtractor {
class Document {
getBody(): string;
getFootnotes(): string;
getHeaders(options?: { includeFooters?: boolean | undefined }): string;
getFooters(): string;
getAnnotations(): string;
getTextboxes(options?: { includeHeadersAndFooters?: boolean | undefined; includeBody?: boolean | undefined }): string;
getEndNotes(): string;
}
}
Additional Details
- Last updated: Fri, 02 Jul 2021 18:05:43 GMT
- Dependencies: none
- Global values: none
Credits
These definitions were written by Rodrigo Saboya.