{"bin":{"pdf2json":"bin/pdf2json.js"},"bugs":{"url":"http://github.com/modesty/pdf2json/issues"},"dist":{"shasum":"4419657bfc185b01cc06580f6749eb396bffcf23","tarball":"https://registry.npmjs.org/pdf2json/-/pdf2json-3.2.0.tgz","fileCount":12,"integrity":"sha512-5RJYU5zWFXTQ5iRXAo75vlhK5ybZOyqEyg/szw2VtHc6ZOPcC7ruX4nnXk1OqqlY56Z7XT+WCFhV+/XPj4QwtQ==","signatures":[{"sig":"MEYCIQCRkMLKd1eO/A7BVl5X/xSBRJP+H3znQ0D5nK1BFXTpzQIhAO55mBLGC52R5swlnHr6HkXZzZy8VqopAWJLNMyap1s/","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8100815},"main":"./dist/pdfparser.cjs","name":"pdf2json","type":"module","author":{"url":"http://www.codeproject.com/script/Articles/MemberArticles.aspx?amid=62372","name":"Modesty Zhang","email":"modestyz@hotmail.com"},"module":"./dist/pdfparser.js","engines":{"node":">=20.18.0"},"exports":{".":{"types":"./dist/pdfparser.d.ts","import":"./dist/pdfparser.js","require":"./dist/pdfparser.cjs"}},"gitHead":"be47b083db7c8a0db994017cf1d75790afe5a824","license":"Apache-2.0","scripts":{"test":"npm run test:jest && npm run parse-r && npm run parse-fd","build":"npm run build:bundle-pdfjs-base && npm run build:rollup","parse":"./bin/pdf2json.js -f ./test/pdf/fd/form/F1040.pdf -o ./test/target/fd/form","parse-c":"./bin/pdf2json.js -f ./test/pdf/fd/form/F1040.pdf -o ./test/target/fd/form -s -t -c","parse-e":"./bin/pdf2json.js -f ./test/pdf/misc/i306_err_invalid.pdf -o ./test/target/misc","parse-m":"./bin/pdf2json.js -f ./test/pdf/fd/form/F1040.pdf -o ./test/target/fd/form -s -t -c -m","parse-r":"./bin/pdf2json.js -f ./test/pdf/fd/form/F1040.pdf -o ./test/target/fd/form -t -c -m -r","parse-s":"./bin/pdf2json.js -f ./test/pdf/fd/form/F1040.pdf -o ./test/target/fd/form -s","parse-t":"./bin/pdf2json.js -f ./test/pdf/fd/form/F1040.pdf -o ./test/target/fd/form -s -t","pretest":"npm run build","parse-fd":"./bin/pdf2json.js -f ./test/pdf/fd/form/ -o ./test/target/fd/form -t -c -m -r","parse-tb":"./bin/pdf2json.js -f ./test/pdf/misc/i242_testingWithTable.pdf -o ./test/target/misc","parse-tc":"./bin/pdf2json.js -f ./test/pdf/misc/i293_pdfpac.pdf -o ./test/target/misc","test:bun":"bun ./bin/pdf2json.js -f ./test/pdf/fd/form/ -o ./test/target/fd/form -t -c -m -r","test:deno":"deno --allow-read --allow-write --allow-net --allow-env --no-check ./bin/pdf2json.js -f ./test/pdf/fd/form/ -o ./test/target/fd/form -t -c -m -r","test:jest":"jest --config ./jest.config.json --detectOpenHandles","test:misc":"cd ./test && sh p2j.one.sh misc . \"Expected: 14 success, 6 fail exception with stack trace\" ","test:forms":"cd ./test && sh p2j.forms.sh","build:clean":"rm -rf node_modules && rm -f package-lock.json && npm i && npm run build","build:rollup":"rollup -c ./rollup.config.js","parse-rectFix":"./bin/pdf2json.js -f ./test/pdf/misc/pr298_rect_fix_from_upstream.pdf -o ./test/target/misc","build:bundle-pdfjs-base":"node rollup/bundle-pdfjs-base.js"},"typings":"./dist/pdfparser.d.ts","_npmUser":{"name":"modesty","email":"modestyz@hotmail.com"},"homepage":"https://github.com/modesty/pdf2json","keywords":["pdf","pdf parser","pdf2json","convert pdf to json","convert pdf form to json","server side PDF parser","port pdf.js to node.js","PDF to text","PDF text extractor","PDF binary to text","PDF form extractor","command line utility to parse pdf to json","JSON","javascript","PDF canvas"],"devEngines":{"packageManager":{"name":"npm","version":">=10.8.2"}},"repository":{"url":"git://github.com/modesty/pdf2json.git","type":"git"},"_npmVersion":"11.4.2","description":"PDF file parser that converts PDF binaries to JSON and text, powered by porting a fork of PDF.JS to Node.js","directories":{},"maintainers":[{"name":"modesty","email":"modestyz@hotmail.com"}],"resolutions":{"typescript":"5.8.3"},"_nodeVersion":"22.15.1","contributors":[],"dependencies":{},"publishConfig":{"access":"public","registry":"https://registry.npmjs.com/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.0.3","tslib":"^2.6.2","eslint":"^9.30.0","rollup":"^4.44.1","@types/node":"^24.0.7","@rollup/plugin-json":"^6.1.0","@rollup/plugin-eslint":"^9.0.5","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-commonjs":"^28.0.6","rollup-plugin-sourcemaps":"^0.6.3","@rollup/plugin-typescript":"^12.1.4","@typescript-eslint/parser":"^8.35.0","@rollup/plugin-node-resolve":"^16.0.0","rollup-plugin-node-builtins":"^2.0.0","@typescript-eslint/eslint-plugin":"^8.35.0"},"bundleDependencies":[],"_npmOperationalInternal":{"tmp":"tmp/pdf2json_3.2.0_1753570089905_0.2914437298853909","host":"s3://npm-registry-packages-npm-production"},"_id":"pdf2json@3.2.0","version":"3.2.0"}