pdf2json
pdf2json copied to clipboard
feat: add support of eslint and typescript, plus more tests and exception handlings
- eslint is configured and enabled
- typescript is configured and part of build
- updated pdfparser.d.ts with more types
- previous lib/p2jcmd*.js are replaced with src/cli/p2jcli*.ts
- previous root/pdf2json.js is removed, favor bin/pdf2json.js
- Jest test's Page content are validated with test/data/xxx.json
- address the following issues and also added associated test PDFs: ** #343 ** #321 ** #318 ** #277 ** #262 ** #255