@types/word-extractor
TypeScript icon, indicating that this package has built-in type declarations

1.0.5 • Public • Published

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

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: Tue, 07 Nov 2023 15:11:36 GMT
  • Dependencies: none

Credits

These definitions were written by Rodrigo Saboya.

/@types/word-extractor/

    Package Sidebar

    Install

    npm i @types/word-extractor

    Weekly Downloads

    6,672

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    3.75 kB

    Total Files

    5

    Last publish

    Collaborators

    • types