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

Versions

Current Tags

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.5
    5,871
  • 1.0.4
    152
  • 1.0.3
    470
  • 1.0.2
    1,317
  • 1.0.1
    964
  • 1.0.0
    0
  • 0.3.0
    36

Package Sidebar

Install

npm i @types/word-extractor

Weekly Downloads

8,810

Version

1.0.5

License

MIT

Unpacked Size

3.75 kB

Total Files

5

Last publish

Collaborators

  • types