{"bin":{"pdf2json":"bin/pdf2json.js"},"bugs":{"url":"http://github.com/modesty/pdf2json/issues"},"dist":{"shasum":"ccb3c93d7864193d2b4e2ce9b9f763cb51922a53","tarball":"https://registry.npmjs.org/pdf2json/-/pdf2json-4.0.3.tgz","fileCount":12,"integrity":"sha512-QErPemxRHDI2RUli3+9/mv4V6Ib9VWI+UoP2S82yXEQtoXzWvu9NSjjo3vyiUiVJv+CJFuzNiKUI+UFFUdv8Lg==","signatures":[{"sig":"MEUCIQDd59xs7Vn1OKlEf40h1lkcxi/tu3amTOSC2NpBwfSIxgIgLtCoZINETXMRxmHteNhvlgO6Lvq5C75o8q3H9gxdqVk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8203596},"main":"./dist/pdfparser.cjs","name":"pdf2json","type":"module","types":"./dist/pdfparser.d.ts","author":{"url":"https://www.google.com/search?q=modesty+zhang+site%3Acodeproject.com","name":"Modesty Zhang","email":"modestyz@hotmail.com"},"module":"./dist/pdfparser.js","engines":{"node":">=20.18.0"},"exports":{".":{"import":{"types":"./dist/pdfparser.d.ts","default":"./dist/pdfparser.js"},"require":{"types":"./dist/pdfparser.d.cts","default":"./dist/pdfparser.cjs"}}},"gitHead":"8554a3a2ce5b1074db759a2d6546b9920d45c7ea","license":"Apache-2.0","scripts":{"test":"npm run test:jest && npm run parse-r && npm run parse-fd && npm run test:deno && npm run test:bun","build":"npm run build:bundle-pdfjs-base && npm run build:rollup && cp dist/pdfparser.d.ts dist/pdfparser.d.cts","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/i418_precompilato_fake.pdf -o ./test/target/misc -c","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","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: 16 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":"npx rollup -c ./rollup.config.js","parse-rectFix":"./bin/pdf2json.js -f ./test/pdf/misc/pr298_rect_fix_from_upstream.pdf -o ./test/target/misc","test:coverage":"jest --config ./jest.config.json --coverage --detectOpenHandles","build:bundle-pdfjs-base":"node rollup/bundle-pdfjs-base.js"},"_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"],"overrides":{"eslint":"$eslint"},"devEngines":{"packageManager":{"name":"npm","version":">=10.2.3"}},"repository":{"url":"git://github.com/modesty/pdf2json.git","type":"git"},"_npmVersion":"11.12.1","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.9.3"},"_nodeVersion":"22.20.0","contributors":[],"dependencies":{},"publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.2.0","tslib":"^2.6.2","eslint":"^10.0.2","rollup":"^4.52.4","@eslint/js":"^10.0.1","typescript":"5.9.3","@types/node":"^25.3.3","@rollup/plugin-json":"^6.1.0","@rollup/plugin-eslint":"^9.1.0","@rollup/plugin-terser":"^1.0.0","@rollup/plugin-commonjs":"^29.0.0","@rollup/plugin-typescript":"^12.1.4","@typescript-eslint/parser":"^8.46.0","@rollup/plugin-node-resolve":"^16.0.2","@typescript-eslint/eslint-plugin":"^8.46.0"},"bundleDependencies":[],"_npmOperationalInternal":{"tmp":"tmp/pdf2json_4.0.3_1776304134060_0.11800677963747219","host":"s3://npm-registry-packages-npm-production"},"_id":"pdf2json@4.0.3","version":"4.0.3"}