1.0.2 • Published 9 years ago

pdftk2json v1.0.2

Weekly downloads
1
License
MIT
Repository
github
Last release
9 years ago

pdftk2json Build Status

Convert pdftk output HTML into JSON

Install

$ npm install --save pdftk2json

Usage

$ pdftk2json examples/small.html div > small.json

API

pdftk2json(input, node)

input

Type: string

The path to your file, not including __dirname.

node

Type: string

Your node type to look for, such as span or div.

CLI

$ npm install --global pdftk2json
$ pdftk2json --help

  Usage
    pdftk2json [input] [node]


  Examples
    $ pdftk2json examples/small.html div
    [{"_":"kitty","style":{"color":"yellow"}}]

License

MIT © Richard Littauer