{"repo":"modesty/pdf2json","free":true,"listed":false,"github":"https://github.com/modesty/pdf2json","clone":"git clone https://github.com/modesty/pdf2json.git","description":"converts binary PDF to JSON and text, for server-side PDF processing and command-line use. Zero dependency.","language":"Java","stars":2209,"topics":["json","pdf","pdf-converter","pdf-form","pdf-text","pdf2json","pdf2text","pdf2form"],"license":null,"category":"media-processing","readme_excerpt":"pdf2json pdf2json is a node.js module that converts binary PDF to JSON and text. Built with pdf.js, it extracts text content and interactive form elements for server-side processing and command-line use. Features - PDF text extraction : extracts textual content of PDF documents into structured JSON. - Form element handling : parses interactive form fields within PDFs for flexible data capture. - Server-side and command-line versatility : Integrate with web services for remote PDF processing or use as a standalone command-line tool for local file conversion. - Swift Performance : fast performance with zero dependencies (since v3.1.6) - Community driven : decade+ long community driven development ensures continuous improvement. - Zero dependencies : completely dependency-free since v3.1.6, only pure JavaScript code. Install npm i pdf2json Or, install it globally: npm i pdf2json -g To update with latest version: npm update pdf2json -g To Run in RESTful Web Service or as command line Utility - More details can be found at the bottom of this document. Test After install, run command line: npm test pretest step builds bundles and source maps for both ES Module and CommonJS, output to ./dist directory. The Jest test suites (7 suites, 74+ tests) are defined in ./test/ test .cjs with CommonJS, test run will also cover parse-r and parse-fd with ES Modules via command line. The default Jest test suits are essential tests for all PRs. But it only covers a portion of all testing PDFs, for","default_branch":null,"files":null,"tree":[],"storefront":"/r/modesty","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/modesty/pdf2json/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}