@kobataku/pdf-table-extractor
TypeScript icon, indicating that this package has built-in type declarations

1.0.3 • Public • Published

@kobataku/pdf-table-extractor

Fork from https://github.com/ronnywang/pdf-table-extractor

The purpose of this fork is to provide a valid npm module for Typescript development.

Specification of extract and check algorithm, please check https://github.com/ronnywang/pdf-table-extractor

install

npm install --save @kobataku/pdf-table-extractor

usage

import * as pte from "pdf-table-extractor";

function async extract() {
    const data = await pte.pdf_table_extractor_from_path("your pdf path");
    console.log(data.pageTables); // get 2D array for table
}

extract();

License

BSD License

Dependencies (0)

    Dev Dependencies (5)

    Package Sidebar

    Install

    npm i @kobataku/pdf-table-extractor

    Weekly Downloads

    0

    Version

    1.0.3

    License

    BSD License

    Unpacked Size

    7.52 MB

    Total Files

    8

    Last publish

    Collaborators

    • kobataku