1.0.5 • Published 6 months ago

@types/word-extractor v1.0.5

Weekly downloads
116
License
MIT
Repository
github
Last release
6 months ago

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.

1.0.5

6 months ago

1.0.4

7 months ago

1.0.3

8 months ago

1.0.2

12 months ago

1.0.1

3 years ago

1.0.0

3 years ago

0.3.0

5 years ago