Skip to content

Instantly share code, notes, and snippets.

@VioletVivirand
Created June 16, 2017 00:57
Show Gist options
  • Save VioletVivirand/79a762f5e3c8bb2157d68bb692b698c2 to your computer and use it in GitHub Desktop.
Save VioletVivirand/79a762f5e3c8bb2157d68bb692b698c2 to your computer and use it in GitHub Desktop.
Use ronnywang/pdf-table-extractor CLI to extract CSV files

Prerequisities

  1. Install npm
  2. install gulp with npm install gulp-cli -g

Step by step

$ git clone https://github.com/ronnywang/pdf-table-extractor
$ git clone https://github.com/mozilla/pdf.js
$ cd ./pdf.js/
$ gulp dist-install
$ cd ..
$ node parse-cmd.js <input filename> > <output filename>.json
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment