{"bin":{"pdf2json":"bin/pdf2json.js"},"bugs":{"url":"http://github.com/modesty/pdf2json/issues"},"dist":{"shasum":"026eb8fc2766d95a3b61911f47527478577c39a5","tarball":"https://registry.npmjs.org/pdf2json/-/pdf2json-4.0.2.tgz","fileCount":12,"integrity":"sha512-iiRSuRmLihoEJ4YGkoqSq3/r4MR0OmkMTYDda0Pq7DAWqJwMylTilXu46T16gfS3DUp3fhiVuz7NtRMbk3uBhw==","signatures":[{"sig":"MEUCIQCZkt7Iubp7w2qVUtxzgytOGO/CXr7eIrnQxxlEC5y9WAIgHgV/4lB1nfOHRpMYQ7hw6+y3KJtaVDEkACJrKoGVaD4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8189388},"main":"./dist/pdfparser.cjs","name":"pdf2json","type":"module","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":{".":{"types":"./dist/pdfparser.d.ts","import":"./dist/pdfparser.js","require":"./dist/pdfparser.cjs"}},"gitHead":"48b50bff110cf82732330da5aa884be955a77bdf","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","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","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.2.3"}},"repository":{"url":"git://github.com/modesty/pdf2json.git","type":"git"},"_npmVersion":"11.7.0","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.com/"},"_hasShrinkwrap":false,"devDependencies":{"jest":"^30.2.0","tslib":"^2.6.2","eslint":"^9.37.0","rollup":"^4.52.4","@eslint/js":"^9.37.0","typescript":"5.9.3","@types/node":"^24.7.2","@rollup/plugin-json":"^6.1.0","@rollup/plugin-eslint":"^9.1.0","@rollup/plugin-terser":"^0.4.4","@rollup/plugin-commonjs":"^28.0.6","@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.2_1768613108049_0.6618421262019434","host":"s3://npm-registry-packages-npm-production"},"_id":"pdf2json@4.0.2","version":"4.0.2"}