{"bin":{"pdf2json":"bin/pdf2json.js"},"bugs":{"url":"https://github.com/modesty/pdf2json/issues"},"dist":{"shasum":"6b9cbc7bd35f8c071e27c2f44f218475ef40d532","tarball":"https://registry.npmjs.org/pdf2json/-/pdf2json-4.1.1.tgz","fileCount":12,"integrity":"sha512-i5lJ+qhl2R4dO2+Jnd/yMlxML93Fgv3WUJ+UJl1L5//44R/4exMx2b0furEjHynUR5XCx8G0QyOqbngtyTa2Dw==","signatures":[{"sig":"MEUCIQCZEl2O1PFC+37xUrIyRhCyEG4vnAKEzhc/xmx+seN6CAIgGLwDp/a88VWWaOsoMNxWzJUAgG2dsKWCMeQxefIs22E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIHKQ45wBQdRfjkekvfTL2sDCCvFX5FwMtK6j0e760H0RAiEA0i6WdOF6rduy/NEUdRuv881w6iiSLAo+OzZVfWafLjk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":11893152},"main":"./dist/pdfparser.cjs","name":"pdf2json","type":"module","types":"./dist/pdfparser.d.ts","author":{"url":"https://www.linkedin.com/in/modesty-zhang-9a43771/","name":"Modesty Zhang","email":"modestyz@hotmail.com"},"module":"./dist/pdfparser.js","engines":{"node":">=22.23.2"},"exports":{".":{"import":{"types":"./dist/pdfparser.d.ts","default":"./dist/pdfparser.js"},"require":{"types":"./dist/pdfparser.d.cts","default":"./dist/pdfparser.cjs"}},"./package.json":"./package.json"},"gitHead":"5edaa036d35fb3c8687e4bfde6f509c4bc8ddaf6","license":"Apache-2.0","scripts":{"lint":"eslint .","test":"npm run test:unit && 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 check && npm run build:rollup","check":"npm run lint && npm run format:check && npm run typecheck","parse":"node ./bin/pdf2json.js -f ./test/pdf/fd/form/F1040.pdf -o ./test/target/fd/form","format":"prettier --write \"**/*.{js,mjs,cjs,ts,mts,cts}\"","parse-c":"node ./bin/pdf2json.js -f ./test/pdf/fd/form/F1040.pdf -o ./test/target/fd/form -s -t -c","parse-e":"node ./bin/pdf2json.js -f ./test/pdf/misc/i418_precompilato_fake.pdf -o ./test/target/misc -c","parse-m":"node ./bin/pdf2json.js -f ./test/pdf/fd/form/F1040.pdf -o ./test/target/fd/form -s -t -c -m","parse-r":"node ./bin/pdf2json.js -f ./test/pdf/fd/form/F1040.pdf -o ./test/target/fd/form -t -c -m -r","parse-s":"node ./bin/pdf2json.js -f ./test/pdf/fd/form/F1040.pdf -o ./test/target/fd/form -s","parse-t":"node ./bin/pdf2json.js -f ./test/pdf/fd/form/F1040.pdf -o ./test/target/fd/form -s -t","lint:fix":"eslint . --fix","parse-fd":"node ./bin/pdf2json.js -f ./test/pdf/fd/form/ -o ./test/target/fd/form -t -c -m -r","parse-tb":"node ./bin/pdf2json.js -f ./test/pdf/misc/i242_testingWithTable.pdf -o ./test/target/misc","parse-tc":"node ./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:misc":"cd ./test && bash p2j.one.sh misc .","test:unit":"node --test --test-timeout=15000 \"test/_test_*.cjs\"","typecheck":"tsc --noEmit","test:forms":"cd ./test && bash p2j.forms.sh","build:clean":"unset npm_config_allow_scripts && npm ci && npm run build","build:rollup":"rollup -c ./rollup.config.js","format:check":"prettier --check \"**/*.{js,mjs,cjs,ts,mts,cts}\"","parse-rectFix":"node ./bin/pdf2json.js -f ./test/pdf/misc/pr298_rect_fix_from_upstream.pdf -o ./test/target/misc","test:coverage":"mkdir -p coverage && node --test --test-timeout=15000 --experimental-test-coverage --test-coverage-exclude=\"test/**\" --test-coverage-exclude=\"base/**\" --test-coverage-exclude=\"lib/pdfjs-code.js\" --test-reporter=spec --test-reporter=lcov --test-reporter-destination=stdout --test-reporter-destination=coverage/lcov.info \"test/_test_*.cjs\"","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"],"devEngines":{"packageManager":{"name":"npm","version":">=10.8.2"}},"repository":{"url":"git+https://github.com/modesty/pdf2json.git","type":"git"},"_npmVersion":"12.2.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"}],"_nodeVersion":"22.23.3","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/"},"_hasShrinkwrap":false,"devDependencies":{"tslib":"^2.8.1","eslint":"^10.0.2","rollup":"^4.52.4","globals":"^17.14.0","prettier":"3.9.10","@eslint/js":"^10.0.1","typescript":"6.0.3","@types/node":"^22.20.2","typescript-eslint":"^8.70.0","@rollup/plugin-json":"^6.1.0","@rollup/plugin-terser":"^1.0.0","@rollup/plugin-typescript":"^12.1.4"},"_npmOperationalInternal":{"tmp":"tmp/pdf2json_4.1.1_1794002081811_0.614186571181712","host":"s3://npm-registry-packages-npm-production"},"_id":"pdf2json@4.1.1","version":"4.1.1"}