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

    1.0.1 • 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

    // 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.

    Keywords

    none

    Install

    npm i @types/word-extractor

    DownloadsWeekly Downloads

    379

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    4.2 kB

    Total Files

    4

    Last publish

    Collaborators

    • types