{"_id":"@polotno/pdf-import","_rev":"25-e38fa63e6c0aff75320af705a007887e","name":"@polotno/pdf-import","dist-tags":{"latest":"0.9.0"},"versions":{"0.0.1":{"name":"@polotno/pdf-import","version":"0.0.1","author":{"name":"Anton Lavrenov"},"_id":"@polotno/pdf-import@0.0.1","maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"},{"name":"nikigan","email":"gankin.n24@gmail.com"}],"dist":{"shasum":"798475a8d594a19936b83bb176c4fa919f8774ab","tarball":"https://registry.npmjs.org/@polotno/pdf-import/-/pdf-import-0.0.1.tgz","fileCount":38,"integrity":"sha512-0co9FYr3O/ViCdzKuz4OQEqKaSSDcKfK+xkpDAOS9K5L0Pmi42XEtrSwIG/X0V6fKMcz0EGzkNbMCXlfopRoIw==","signatures":[{"sig":"MEUCIBgkzKrl4o6XtdQTfyzrKv5TKHeOaZ/v5eFLc3d93XQ0AiEA7VtYygAX968LtG0XUsjqlXQ9rbYR6KPTsJRYbomfdeQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":146341},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"gitHead":"bcc8cff759ad24f20d2a1bed82a6fc22a307d1a0","scripts":{"dev":"vite client","test":"vitest run tests/index.test.ts","build":"tsc && node build.js","test:update":"vitest run tests/index.test.ts --update","test:visual":"node --max-old-space-size=4096 ./node_modules/.bin/vitest run --config vitest.visual.config.ts tests/visual-regression.test.ts"},"_npmUser":{"name":"lavrton","email":"lavrton@gmail.com"},"_npmVersion":"11.9.0","description":"Convert PDF files into Polotno JSON format","directories":{},"_nodeVersion":"25.6.1","dependencies":{"pdfjs-dist":"^4.10.38","opentype.js":"^1.3.4"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.3.1","react":"^18.3.1","sharp":"^0.34.5","vitest":"^4.0.18","esbuild":"^0.27.3","polotno":"^2.37.1","ssim.js":"^3.5.0","react-dom":"^18","typescript":"~5.9.3","@types/node":"^25.3.3","@types/react":"^19.2.14","polotno-node":"^2.15.13","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^5.1.4"},"_npmOperationalInternal":{"tmp":"tmp/pdf-import_0.0.1_1773249671082_0.7207543244062269","host":"s3://npm-registry-packages-npm-production"}},"0.0.2":{"name":"@polotno/pdf-import","version":"0.0.2","author":{"name":"Anton Lavrenov"},"_id":"@polotno/pdf-import@0.0.2","maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"},{"name":"nikigan","email":"gankin.n24@gmail.com"}],"dist":{"shasum":"70105db27bd237a916644ff0f86aa5c7cfd5ebd2","tarball":"https://registry.npmjs.org/@polotno/pdf-import/-/pdf-import-0.0.2.tgz","fileCount":40,"integrity":"sha512-tvXVdNTJvIYgnNKy3Rr9cMZ7heyjy5iC7R/wN3VDeyKp6XuqoGWxAloZh2CGzdJieeF77S4q0VVEawxrQkDujg==","signatures":[{"sig":"MEUCIC41WgIc9KtQHV9wc/IvNNnIM6r5wBjzbIeNkN48l2YsAiEA1FRWpZ9j+Rl68mAJuJ50N8NVwnqX6iKUZvnx/CeDBrg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3008979},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"gitHead":"84257b4dd1f3c6e539ca381f77c34e8ef9989a8d","scripts":{"dev":"vite client","test":"vitest run tests/index.test.ts","build":"node generate-worker.js && tsc && node build.js","test:update":"vitest run tests/index.test.ts --update","test:visual":"node --max-old-space-size=4096 ./node_modules/.bin/vitest run --config vitest.visual.config.ts tests/visual-regression.test.ts"},"_npmUser":{"name":"lavrton","email":"lavrton@gmail.com"},"_npmVersion":"11.9.0","description":"Convert PDF files into Polotno JSON format","directories":{},"_nodeVersion":"25.6.1","dependencies":{"pdfjs-dist":"^4.10.38","opentype.js":"^1.3.4"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.3.1","react":"^18.3.1","sharp":"^0.34.5","vitest":"^4.0.18","esbuild":"^0.27.3","polotno":"^2.37.1","ssim.js":"^3.5.0","react-dom":"^18","typescript":"~5.9.3","@types/node":"^25.3.3","@types/react":"^19.2.14","polotno-node":"^2.15.13","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^5.1.4"},"_npmOperationalInternal":{"tmp":"tmp/pdf-import_0.0.2_1773278263424_0.5896825334129698","host":"s3://npm-registry-packages-npm-production"}},"0.0.3":{"name":"@polotno/pdf-import","version":"0.0.3","author":{"name":"Anton Lavrenov"},"_id":"@polotno/pdf-import@0.0.3","maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"},{"name":"nikigan","email":"gankin.n24@gmail.com"}],"dist":{"shasum":"7c526a9eeec8191b400f61227cf6eb6c8afea031","tarball":"https://registry.npmjs.org/@polotno/pdf-import/-/pdf-import-0.0.3.tgz","fileCount":40,"integrity":"sha512-GWjUIO0JuyqeVCv+qxD9GYGJ+3R7Bbglfh/44ZOm4r8YWUZCZGqXctk7tsAZe30DlC9sFIixZotjzxzFvl6SGA==","signatures":[{"sig":"MEYCIQCNTwPjMN12th+bebK1hFTHxlqNLNJKfmVebMqT37m9wAIhAOMFi7Bahl7ZKafKq4xGU9AmoVmcPnr0a03i2nPkAYZY","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3011600},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"gitHead":"abb52c74e2b06f10097b9a7ee425107bfc307402","scripts":{"dev":"vite client","test":"vitest run tests/index.test.ts","build":"node generate-worker.js && tsc && node build.js","test:update":"vitest run tests/index.test.ts --update","test:visual":"node --max-old-space-size=4096 ./node_modules/.bin/vitest run --config vitest.visual.config.ts tests/visual-regression.test.ts"},"_npmUser":{"name":"lavrton","email":"lavrton@gmail.com"},"_npmVersion":"11.9.0","description":"Convert PDF files into Polotno JSON format","directories":{},"_nodeVersion":"25.6.1","dependencies":{"pdfjs-dist":"^4.10.38","opentype.js":"^1.3.4"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^7.3.1","react":"^18.3.1","sharp":"^0.34.5","vitest":"^4.0.18","esbuild":"^0.27.3","polotno":"^2.37.1","ssim.js":"^3.5.0","react-dom":"^18","typescript":"~5.9.3","@types/node":"^25.3.3","@types/react":"^19.2.14","polotno-node":"^2.15.13","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^5.1.4"},"_npmOperationalInternal":{"tmp":"tmp/pdf-import_0.0.3_1773285285960_0.837770028413007","host":"s3://npm-registry-packages-npm-production"}},"0.0.4":{"name":"@polotno/pdf-import","version":"0.0.4","author":{"name":"Anton Lavrenov"},"_id":"@polotno/pdf-import@0.0.4","maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"},{"name":"nikigan","email":"gankin.n24@gmail.com"}],"dist":{"shasum":"bf951d88dae5e6bd8400e17233e106c5335ddc31","tarball":"https://registry.npmjs.org/@polotno/pdf-import/-/pdf-import-0.0.4.tgz","fileCount":40,"integrity":"sha512-/LffHIjPEae5Hw92KUmBPdr6b0WM58aDX0E3wodcXwpf7PaFi1luE4cORfCddrmCIXRbgl5mlaBX12gHarBSbQ==","signatures":[{"sig":"MEYCIQCQ0ekMaJkg6YehROhClOZIcWF9jERDg//cA2SP3j8FYwIhAIWderMVx/6LVGuJBqnc2Q1RyWGTqqmxpGzYzbsDX2Hw","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3018096},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"gitHead":"615dd2f2259c6d90e0d3ba745a0e43a1ee7a3732","scripts":{"dev":"vite client","test":"vitest run tests/index.test.ts","build":"node generate-worker.js && tsc && node build.js","test:update":"vitest run tests/index.test.ts --update","test:visual":"node --max-old-space-size=4096 ./node_modules/.bin/vitest run --config vitest.visual.config.ts tests/visual-regression.test.ts"},"_npmUser":{"name":"lavrton","email":"lavrton@gmail.com"},"_npmVersion":"11.9.0","description":"Convert PDF files into Polotno JSON format","directories":{},"_nodeVersion":"25.6.1","dependencies":{"pdfjs-dist":"^4.10.38","opentype.js":"^1.3.4"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.0","react":"^18.3.1","sharp":"^0.34.5","vitest":"^4.1.0","esbuild":"^0.27.4","polotno":"^2.38.2","ssim.js":"^3.5.0","react-dom":"^18","typescript":"~5.9.3","@types/node":"^25.5.0","@types/react":"^19.2.14","polotno-node":"^2.15.15","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^6.0.1"},"_npmOperationalInternal":{"tmp":"tmp/pdf-import_0.0.4_1774971319819_0.5316394023186688","host":"s3://npm-registry-packages-npm-production"}},"0.0.5":{"name":"@polotno/pdf-import","version":"0.0.5","author":{"name":"Anton Lavrenov"},"_id":"@polotno/pdf-import@0.0.5","maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"},{"name":"nikigan","email":"gankin.n24@gmail.com"}],"dist":{"shasum":"074fa384694602328783dfac79926dd301fb353f","tarball":"https://registry.npmjs.org/@polotno/pdf-import/-/pdf-import-0.0.5.tgz","fileCount":42,"integrity":"sha512-8Lmuyf9fcGR/0o1Ry40oRJdecXnnpvWTx4v7a54mDY+OMujpK4+o8/SmxV6IQ32MdIU6qvbFiq3AwcFOkApc1A==","signatures":[{"sig":"MEUCIQCP/EIsRn/URFWhZmmzqfK8L3sW03NJF0ceMVrAnx0ByAIgPEhF2MfP0bDnxXMjvgnHhzbquVgt+RoWQ01To0sliww=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3030470},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"gitHead":"f46f49674462a18d64d6e69497f013feab132d81","scripts":{"dev":"vite client","test":"vitest run tests/index.test.ts","build":"node generate-worker.js && tsc && node build.js","test:update":"vitest run tests/index.test.ts --update","test:visual":"node --max-old-space-size=4096 ./node_modules/.bin/vitest run --config vitest.visual.config.ts tests/visual-regression.test.ts"},"_npmUser":{"name":"lavrton","email":"lavrton@gmail.com"},"_npmVersion":"11.9.0","description":"Convert PDF files into Polotno JSON format","directories":{},"_nodeVersion":"25.6.1","dependencies":{"pdfjs-dist":"^4.10.38","opentype.js":"^1.3.4"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.0","react":"^18.3.1","sharp":"^0.34.5","vitest":"^4.1.0","esbuild":"^0.27.4","polotno":"^2.38.2","ssim.js":"^3.5.0","react-dom":"^18","typescript":"~5.9.3","@types/node":"^25.5.0","@types/react":"^19.2.14","polotno-node":"^2.15.15","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^6.0.1"},"_npmOperationalInternal":{"tmp":"tmp/pdf-import_0.0.5_1775227398980_0.9344057745842878","host":"s3://npm-registry-packages-npm-production"}},"0.0.6":{"name":"@polotno/pdf-import","version":"0.0.6","author":{"name":"Anton Lavrenov"},"_id":"@polotno/pdf-import@0.0.6","maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"},{"name":"nikigan","email":"gankin.n24@gmail.com"}],"dist":{"shasum":"53301bb147f5a82e2ff1d10cfef0e5773e942a9d","tarball":"https://registry.npmjs.org/@polotno/pdf-import/-/pdf-import-0.0.6.tgz","fileCount":44,"integrity":"sha512-uKbO5fwdocIBh1E27hV9V2rwCt5Mt2URbDm7v/Mj0VuJNDiK3btnviPiF7Kg0WzKTCH5JNYBeeqhLNOVwcQbPA==","signatures":[{"sig":"MEUCIHDAwy+xl7YQV5D9hKWm2SaUIZ29pxCvVC5jRKq5qy48AiEAm2xzzKgX2QHbp/t62LZxGpOhrTg18suUbFxUFOpfWEs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3035078},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"gitHead":"6f0de27f997d1a7c87aad5533fadd4e6788b6e0d","scripts":{"dev":"vite client","test":"vitest run tests/index.test.ts","build":"node generate-worker.js && tsc && node build.js","test:update":"vitest run tests/index.test.ts --update","test:visual":"node --max-old-space-size=4096 ./node_modules/.bin/vitest run --config vitest.visual.config.ts tests/visual-regression.test.ts"},"_npmUser":{"name":"lavrton","email":"lavrton@gmail.com"},"_npmVersion":"11.9.0","description":"Convert PDF files into Polotno JSON format","directories":{},"_nodeVersion":"25.6.1","dependencies":{"pdfjs-dist":"^4.10.38","opentype.js":"^1.3.4"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.0","react":"^18.3.1","sharp":"^0.34.5","vitest":"^4.1.0","esbuild":"^0.27.4","polotno":"^2.38.2","ssim.js":"^3.5.0","react-dom":"^18","typescript":"~5.9.3","@types/node":"^25.5.0","@types/react":"^19.2.14","polotno-node":"^2.15.15","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^6.0.1"},"_npmOperationalInternal":{"tmp":"tmp/pdf-import_0.0.6_1775230103895_0.9362522667284681","host":"s3://npm-registry-packages-npm-production"}},"0.0.7":{"name":"@polotno/pdf-import","version":"0.0.7","author":{"name":"Anton Lavrenov"},"_id":"@polotno/pdf-import@0.0.7","maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"},{"name":"nikigan","email":"gankin.n24@gmail.com"}],"dist":{"shasum":"846e2a1a99d804c1821ae2e16936e8d8e62288f0","tarball":"https://registry.npmjs.org/@polotno/pdf-import/-/pdf-import-0.0.7.tgz","fileCount":4,"integrity":"sha512-i1ILlMjQBwk+uUnxVKnmbFDgX9cAIyLZh8yqomxXanaTMX3uilrzzUR4Mhib1QuqWlKJoLsVjDRiTao8JunJBA==","signatures":[{"sig":"MEQCIFpsK33XXtkA59ETbab+Q97eg6ePnUII+KE/iBkIPgcIAiBV4Qwu9OJITTj3LdRJ39AEjTH4kF5/diKwBWaLonhsmg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1490421},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"gitHead":"c037f7e763c9c4fb25d9084559a65efa2f1f14ff","scripts":{"dev":"vite client","test":"vitest run tests/index.test.ts","build":"node generate-worker.js && node build.js","test:update":"UPDATE_SNAPSHOTS=1 vitest run tests/index.test.ts --update","test:visual":"node --max-old-space-size=4096 ./node_modules/.bin/vitest run --config vitest.visual.config.ts tests/visual-regression.test.ts --reporter=dot --silent=passed-only","visual:corpus":"npm run build && node --experimental-strip-types --max-old-space-size=4096 scripts/visual-corpus.ts","test:visual:baseline":"VISUAL_SAVE_BASELINE=1 node --max-old-space-size=4096 ./node_modules/.bin/vitest run --config vitest.visual.config.ts tests/visual-regression.test.ts --reporter=dot --silent=passed-only"},"_npmUser":{"name":"lavrton","email":"lavrton@gmail.com"},"_npmVersion":"11.9.0","description":"Convert PDF files into Polotno JSON format","directories":{},"_nodeVersion":"25.6.1","dependencies":{"pdfjs-dist":"^4.10.38","opentype.js":"^1.3.4"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.0","react":"^18.3.1","sharp":"^0.34.5","vitest":"^4.1.0","esbuild":"^0.27.4","polotno":"^2.38.2","ssim.js":"^3.5.0","react-dom":"^18","typescript":"~5.9.3","@types/node":"^25.5.0","@types/react":"^19.2.14","polotno-node":"^2.15.15","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^6.0.1"},"_npmOperationalInternal":{"tmp":"tmp/pdf-import_0.0.7_1779459618486_0.3513265649080137","host":"s3://npm-registry-packages-npm-production"}},"0.0.8":{"name":"@polotno/pdf-import","version":"0.0.8","author":{"name":"Anton Lavrenov"},"_id":"@polotno/pdf-import@0.0.8","maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"},{"name":"nikigan","email":"gankin.n24@gmail.com"}],"dist":{"shasum":"bca32b63c1c190bf9fa1660bc8f53a2513f97f76","tarball":"https://registry.npmjs.org/@polotno/pdf-import/-/pdf-import-0.0.8.tgz","fileCount":4,"integrity":"sha512-QKL3+yikEF4aEdGy58sWD3ffoZF0Nz8Jb04h3ZKeo4cj1CvNRkfZNnGKLK8Yh13P90M4KeCBqFyd3v2KYKbP6A==","signatures":[{"sig":"MEYCIQDYv2evc01k+i0/UKgU+DLMSpYlyzgZjdt9KriLUvWQnwIhAPZ/R9nRgm9pXXwriFyWIM0h5Wz+cwr78R1bi2+cBoFH","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1497461},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"gitHead":"282d7731107f816df22918cd0dbad6b4b0e0a851","scripts":{"dev":"vite client","test":"vitest run tests/index.test.ts","build":"node generate-worker.js && node build.js","test:update":"UPDATE_SNAPSHOTS=1 vitest run tests/index.test.ts --update","test:visual":"VITEST_VISUAL=1 node --max-old-space-size=4096 ./node_modules/.bin/vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only","visual:corpus":"npm run build && node --experimental-strip-types --max-old-space-size=4096 scripts/visual-corpus.ts","test:visual:baseline":"VITEST_VISUAL=1 VISUAL_SAVE_BASELINE=1 node --max-old-space-size=4096 ./node_modules/.bin/vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only"},"_npmUser":{"name":"lavrton","email":"lavrton@gmail.com"},"_npmVersion":"11.9.0","description":"Convert PDF files into Polotno JSON format","directories":{},"_nodeVersion":"25.6.1","dependencies":{"pdfjs-dist":"^4.10.38","opentype.js":"^1.3.4"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.0","react":"^18.3.1","sharp":"^0.34.5","vitest":"^4.1.0","esbuild":"^0.27.4","polotno":"^2.38.2","ssim.js":"^3.5.0","react-dom":"^18","typescript":"~5.9.3","@types/node":"^25.5.0","@types/react":"^19.2.14","polotno-node":"^2.15.15","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^6.0.1"},"_npmOperationalInternal":{"tmp":"tmp/pdf-import_0.0.8_1781691693937_0.9293826257918996","host":"s3://npm-registry-packages-npm-production"}},"0.0.9":{"name":"@polotno/pdf-import","version":"0.0.9","author":{"name":"Anton Lavrenov"},"license":"SEE LICENSE IN LICENSE.md","_id":"@polotno/pdf-import@0.0.9","maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"},{"name":"nikigan","email":"gankin.n24@gmail.com"}],"dist":{"shasum":"992622f9821ddb0fc60ec9ce48d8b0c60d4f4148","tarball":"https://registry.npmjs.org/@polotno/pdf-import/-/pdf-import-0.0.9.tgz","fileCount":5,"integrity":"sha512-zpKwYBl8VLftWHhJ9yGI02NtJvYBx9XulwtaWevvKf9cyNL3Ew7IqKlZPxExUXvWB+tXjE2PNy2/8WHuAAidJw==","signatures":[{"sig":"MEQCIGTGAwIe5oPZqw4tJmhIR5u7ryUS/16j5uMSbTawcHCSAiBinIGuxdJG7MMTJ8qHRmeTmU+dWF40JccUNlkaz1xBOw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1842744},"main":"./lib/index.js","type":"module","_from":"file:polotno-pdf-import-0.0.9.tgz","types":"./lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"scripts":{"dev":"vite client","test":"vitest run","build":"node generate-worker.js && node build.js","typecheck":"tsc --noEmit -p tsconfig.json","test:update":"UPDATE_SNAPSHOTS=1 vitest run tests/index.test.ts --update","test:visual":"VITEST_VISUAL=1 node --max-old-space-size=4096 ./node_modules/.bin/vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only","visual:corpus":"pnpm run build && node --experimental-strip-types --max-old-space-size=4096 scripts/visual-corpus.ts","test:visual:baseline":"VITEST_VISUAL=1 VISUAL_SAVE_BASELINE=1 node --max-old-space-size=4096 ./node_modules/.bin/vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only"},"_npmUser":{"name":"lavrton","email":"lavrton@gmail.com"},"_resolved":"/private/var/folders/c3/kp3_vs3x46z4qfz16x4cst600000gn/T/7094ce459f649630ed34893b45e72a7b/polotno-pdf-import-0.0.9.tgz","_integrity":"sha512-zpKwYBl8VLftWHhJ9yGI02NtJvYBx9XulwtaWevvKf9cyNL3Ew7IqKlZPxExUXvWB+tXjE2PNy2/8WHuAAidJw==","_npmVersion":"11.9.0","description":"Convert PDF files into Polotno JSON format","directories":{},"_nodeVersion":"25.6.1","dependencies":{"pdfjs-dist":"^4.10.38","opentype.js":"1.3.4","@polotno/schema":"0.1.3"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.16","react":"^19.2.7","sharp":"^0.34.5","vitest":"^4.1.9","esbuild":"^0.28.0","polotno":"4.1.0","ssim.js":"^3.5.0","react-dom":"^19.2.7","typescript":"~6.0.3","@types/node":"^25.9.2","@types/react":"^19.2.17","polotno-node":"3.0.0","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^6.0.2"},"_npmOperationalInternal":{"tmp":"tmp/pdf-import_0.0.9_1781960691157_0.553523658415612","host":"s3://npm-registry-packages-npm-production"}},"0.0.10":{"name":"@polotno/pdf-import","version":"0.0.10","author":{"name":"Anton Lavrenov"},"license":"SEE LICENSE IN LICENSE.md","_id":"@polotno/pdf-import@0.0.10","maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"},{"name":"nikigan","email":"gankin.n24@gmail.com"}],"dist":{"shasum":"b7757b9149d2b94cf846144a18e0da8e23bbc41e","tarball":"https://registry.npmjs.org/@polotno/pdf-import/-/pdf-import-0.0.10.tgz","fileCount":5,"integrity":"sha512-VR7O1809rdVz1QQwjuTX/axlsIbWmgXQTUdK+bDsJzGDQgs5oqAySmkWJ62HpNfwvVemp32eNRCzmOckUQSo8A==","signatures":[{"sig":"MEUCIHRGEWynr2S34cnka0pbqkBl1S94pfueJ3CvBnX2b0loAiEAhG2yCFXIKqihHeGfiI0AOm45aMypfm7Qw4qFPijZ/QA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1842721},"main":"./lib/index.js","type":"module","_from":"file:polotno-pdf-import-0.0.10.tgz","types":"./lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"scripts":{"dev":"vite client","test":"vitest run","build":"node generate-worker.js && node build.js","typecheck":"tsc --noEmit -p tsconfig.json","test:update":"UPDATE_SNAPSHOTS=1 vitest run tests/index.test.ts --update","test:visual":"VITEST_VISUAL=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only","visual:corpus":"pnpm run build && node --experimental-strip-types --max-old-space-size=4096 scripts/visual-corpus.ts","test:visual:baseline":"VITEST_VISUAL=1 VISUAL_SAVE_BASELINE=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only"},"_npmUser":{"name":"lavrton","email":"lavrton@gmail.com"},"_resolved":"/private/var/folders/c3/kp3_vs3x46z4qfz16x4cst600000gn/T/5e283d95fec06ce44cca9d17083f262b/polotno-pdf-import-0.0.10.tgz","_integrity":"sha512-VR7O1809rdVz1QQwjuTX/axlsIbWmgXQTUdK+bDsJzGDQgs5oqAySmkWJ62HpNfwvVemp32eNRCzmOckUQSo8A==","_npmVersion":"11.9.0","description":"Convert PDF files into Polotno JSON format","directories":{},"_nodeVersion":"25.6.1","dependencies":{"pdfjs-dist":"^4.10.38","opentype.js":"1.3.4","@polotno/schema":"0.1.3"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.16","react":"^19.2.7","sharp":"^0.34.5","vitest":"^4.1.9","esbuild":"^0.28.0","polotno":"4.1.0","ssim.js":"^3.5.0","react-dom":"^19.2.7","typescript":"~6.0.3","@types/node":"^25.9.2","@types/react":"^19.2.17","polotno-node":"3.0.0","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^6.0.2"},"_npmOperationalInternal":{"tmp":"tmp/pdf-import_0.0.10_1781963585426_0.34781071485697446","host":"s3://npm-registry-packages-npm-production"}},"0.0.11":{"name":"@polotno/pdf-import","version":"0.0.11","author":{"name":"Anton Lavrenov"},"license":"SEE LICENSE IN LICENSE.md","_id":"@polotno/pdf-import@0.0.11","maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"},{"name":"nikigan","email":"gankin.n24@gmail.com"}],"dist":{"shasum":"98fd745698a6b7a205efd7e59388d9f9dc1d9110","tarball":"https://registry.npmjs.org/@polotno/pdf-import/-/pdf-import-0.0.11.tgz","fileCount":5,"integrity":"sha512-H69Aeig+tdfdZzENrIIKsfMz93s1E6dj1tTzHKAl5uqCqLgX81ntWVsPHKFjH4H6WC/rZt/jmq9WkfP/V+KygA==","signatures":[{"sig":"MEUCIGSy8W/m8+2jmwqdwYw50nnDunXLsLVLYQTHqfQKFW+bAiEAgu3TwE7/Y2hZduX0KJ/X4Zxe8RW+fyOyfjNqmQyWyVY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1847419},"main":"./lib/index.js","type":"module","_from":"file:polotno-pdf-import-0.0.11.tgz","types":"./lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"scripts":{"dev":"vite client","test":"vitest run","build":"node generate-worker.js && node build.js","typecheck":"tsc --noEmit -p tsconfig.json","test:update":"UPDATE_SNAPSHOTS=1 vitest run tests/index.test.ts --update","test:visual":"VITEST_VISUAL=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only","pretypecheck":"node generate-worker.js","visual:corpus":"pnpm run build && node --experimental-strip-types --max-old-space-size=4096 scripts/visual-corpus.ts","test:visual:baseline":"VITEST_VISUAL=1 VISUAL_SAVE_BASELINE=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only"},"_npmUser":{"name":"lavrton","email":"lavrton@gmail.com"},"_resolved":"/private/var/folders/c3/kp3_vs3x46z4qfz16x4cst600000gn/T/833bcf506c12d64f7507e9dc113bb7a9/polotno-pdf-import-0.0.11.tgz","_integrity":"sha512-H69Aeig+tdfdZzENrIIKsfMz93s1E6dj1tTzHKAl5uqCqLgX81ntWVsPHKFjH4H6WC/rZt/jmq9WkfP/V+KygA==","_npmVersion":"11.9.0","description":"Convert PDF files into Polotno JSON format","directories":{},"_nodeVersion":"25.6.1","dependencies":{"pdfjs-dist":"^4.10.38","opentype.js":"1.3.4","@polotno/schema":"0.2.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.0.16","react":"^19.2.7","sharp":"^0.34.5","vitest":"^4.1.9","esbuild":"^0.28.0","polotno":"4.3.0","ssim.js":"^3.5.0","react-dom":"^19.2.7","typescript":"~6.0.3","@types/node":"^25.9.2","@types/react":"^19.2.17","polotno-node":"3.0.3","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^6.0.2"},"_npmOperationalInternal":{"tmp":"tmp/pdf-import_0.0.11_1783453687768_0.029506111607455754","host":"s3://npm-registry-packages-npm-production"}},"0.0.12":{"name":"@polotno/pdf-import","version":"0.0.12","author":{"name":"Anton Lavrenov"},"license":"SEE LICENSE IN LICENSE.md","_id":"@polotno/pdf-import@0.0.12","maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"},{"name":"nikigan","email":"gankin.n24@gmail.com"}],"dist":{"shasum":"9f1c9f706f5601de44db0129e9112d70bce008aa","tarball":"https://registry.npmjs.org/@polotno/pdf-import/-/pdf-import-0.0.12.tgz","fileCount":5,"integrity":"sha512-+DYvoH9Gpr+DVb13WJo2SHOEVbr+1JnhyD3kUeuQAcmDnBRfzFPWuzniticZxezO6KdZf8WuouiVWfP11ii6fw==","signatures":[{"sig":"MEUCIQCQ8Gf9wYKLiMwEe3kaN0bMZSybSaKmZkK8uGN8oNRqpwIgHrIq/H4EyIWsEyZ61KlFl45opbENInxWF2eLzTayIak=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1847838},"main":"./lib/index.js","type":"module","_from":"file:polotno-pdf-import-0.0.12.tgz","types":"./lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"scripts":{"dev":"vite client","test":"vitest run","build":"node generate-worker.js && node build.js","typecheck":"tsc --noEmit -p tsconfig.json","test:update":"UPDATE_SNAPSHOTS=1 vitest run tests/index.test.ts --update","test:visual":"VITEST_VISUAL=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only","pretypecheck":"node generate-worker.js","visual:corpus":"pnpm run build && node --experimental-strip-types --max-old-space-size=4096 scripts/visual-corpus.ts","test:visual:baseline":"VITEST_VISUAL=1 VISUAL_SAVE_BASELINE=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only"},"_npmUser":{"name":"lavrton","email":"lavrton@gmail.com"},"_resolved":"/private/var/folders/c3/kp3_vs3x46z4qfz16x4cst600000gn/T/47117acf420feedd651c92998fc1940b/polotno-pdf-import-0.0.12.tgz","_integrity":"sha512-+DYvoH9Gpr+DVb13WJo2SHOEVbr+1JnhyD3kUeuQAcmDnBRfzFPWuzniticZxezO6KdZf8WuouiVWfP11ii6fw==","_npmVersion":"11.9.0","description":"Convert PDF files into Polotno JSON format","directories":{},"_nodeVersion":"25.6.1","dependencies":{"pdfjs-dist":"^4.10.38","opentype.js":"2.0.0","@polotno/schema":"0.3.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.1.4","react":"^19.2.7","sharp":"^0.35.3","vitest":"^4.1.10","esbuild":"^0.28.1","polotno":"4.4.0","ssim.js":"^3.5.0","react-dom":"^19.2.7","typescript":"~6.0.3","@types/node":"^26.1.1","@types/react":"^19.2.17","polotno-node":"3.1.0","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/pdf-import_0.0.12_1784049580937_0.023771916130140403","host":"s3://npm-registry-packages-npm-production"}},"0.1.0":{"name":"@polotno/pdf-import","version":"0.1.0","author":{"name":"Anton Lavrenov"},"license":"SEE LICENSE IN LICENSE.md","_id":"@polotno/pdf-import@0.1.0","maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"},{"name":"nikigan","email":"gankin.n24@gmail.com"}],"dist":{"shasum":"122137e08c1cb13ec06792785ade96bb5bfb7853","tarball":"https://registry.npmjs.org/@polotno/pdf-import/-/pdf-import-0.1.0.tgz","fileCount":5,"integrity":"sha512-YyngjoJ17KYZHcafe92X/qiScsyll4VhwG3dLqfXY81+Mq5BbEgRCSzafGGeM55shAxpCuaXueiETwbGkgsY4A==","signatures":[{"sig":"MEQCIHQlEbDIafjSq2nrkO87kaMy4iRWTwWeuCEgV4AvwL7XAiBObPBLqrKEa3mD7rI4o2li7la/CpEjtntWonz6R5dMrA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1903071},"main":"./lib/index.js","type":"module","_from":"file:polotno-pdf-import-0.1.0.tgz","types":"./lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"scripts":{"dev":"vite client","test":"vitest run","build":"node generate-worker.js && node build.js","typecheck":"tsc --noEmit -p tsconfig.json","test:update":"UPDATE_SNAPSHOTS=1 vitest run tests/index.test.ts --update","test:visual":"VITEST_VISUAL=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only","pretypecheck":"node generate-worker.js","visual:corpus":"pnpm run build && node --experimental-strip-types --max-old-space-size=4096 scripts/visual-corpus.ts","test:visual:baseline":"VITEST_VISUAL=1 VISUAL_SAVE_BASELINE=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only"},"_npmUser":{"name":"lavrton","email":"lavrton@gmail.com"},"_resolved":"/private/var/folders/c3/kp3_vs3x46z4qfz16x4cst600000gn/T/dc10e2d9bb266858f91fd40ab2a6f7a2/polotno-pdf-import-0.1.0.tgz","_integrity":"sha512-YyngjoJ17KYZHcafe92X/qiScsyll4VhwG3dLqfXY81+Mq5BbEgRCSzafGGeM55shAxpCuaXueiETwbGkgsY4A==","_npmVersion":"11.9.0","description":"Convert PDF files into Polotno JSON format","directories":{},"_nodeVersion":"25.6.1","dependencies":{"pdfjs-dist":"^4.10.38","opentype.js":"2.0.0","@polotno/core":"0.2.0","@polotno/schema":"0.3.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.1.4","react":"^19.2.7","sharp":"^0.35.3","vitest":"^4.1.10","esbuild":"^0.28.1","polotno":"4.4.0","ssim.js":"^3.5.0","react-dom":"^19.2.7","typescript":"~6.0.3","@types/node":"^26.1.1","@types/react":"^19.2.17","polotno-node":"3.1.0","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/pdf-import_0.1.0_1784752639456_0.639498036669391","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@polotno/pdf-import","version":"0.2.0","author":{"name":"Anton Lavrenov"},"license":"SEE LICENSE IN LICENSE.md","_id":"@polotno/pdf-import@0.2.0","maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"},{"name":"nikigan","email":"gankin.n24@gmail.com"}],"dist":{"shasum":"c7e16df8ed8d284bda348748e197197566b04be4","tarball":"https://registry.npmjs.org/@polotno/pdf-import/-/pdf-import-0.2.0.tgz","fileCount":5,"integrity":"sha512-1apyd8WVqNmqrnrh9DyzYfzhNsn4/RUbNbJdsh0bboDAm0E9YhGkLdrhdpOkQrB8xHYxGXY8SmFBZKn5/slQBA==","signatures":[{"sig":"MEYCIQC6xITtE/vNfdyvvRf/68Uu2vNUCE0L8yU93swdv39KiQIhALXz+rL8zDQmUTOtu2UtnjuKcnGWyqqlOBMSStes0cA6","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1937563},"main":"./lib/index.js","type":"module","_from":"file:polotno-pdf-import-0.2.0.tgz","types":"./lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"scripts":{"dev":"vite client","test":"vitest run","build":"node generate-worker.js && node build.js","typecheck":"tsc --noEmit -p tsconfig.json","test:update":"UPDATE_SNAPSHOTS=1 vitest run tests/index.test.ts --update","test:visual":"VITEST_VISUAL=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only","pretypecheck":"node generate-worker.js","visual:corpus":"pnpm run build && node --experimental-strip-types --max-old-space-size=4096 scripts/visual-corpus.ts","visual:export":"pnpm exec turbo run build --filter=@polotno/pdf-import --filter=@polotno/pdf-export --filter=@polotno/svg-export --filter=@polotno/html-export && node --experimental-strip-types --max-old-space-size=4096 scripts/export-fidelity.ts","test:visual:baseline":"VITEST_VISUAL=1 VISUAL_SAVE_BASELINE=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only"},"_npmUser":{"name":"lavrton","email":"lavrton@gmail.com"},"_resolved":"/private/var/folders/c3/kp3_vs3x46z4qfz16x4cst600000gn/T/664039658e376bc702dc2a502e93cd10/polotno-pdf-import-0.2.0.tgz","_integrity":"sha512-1apyd8WVqNmqrnrh9DyzYfzhNsn4/RUbNbJdsh0bboDAm0E9YhGkLdrhdpOkQrB8xHYxGXY8SmFBZKn5/slQBA==","_npmVersion":"11.9.0","description":"Convert PDF files into Polotno JSON format","directories":{},"_nodeVersion":"25.6.1","dependencies":{"pdfjs-dist":"^4.10.38","opentype.js":"2.0.0","@polotno/core":"0.2.0","@polotno/schema":"0.3.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.1.4","react":"^19.2.7","sharp":"^0.35.3","vitest":"^4.1.10","esbuild":"^0.28.1","polotno":"4.5.0","ssim.js":"^3.5.0","react-dom":"^19.2.7","typescript":"~6.0.3","@types/node":"^26.1.1","@types/react":"^19.2.17","polotno-node":"3.1.1","@types/react-dom":"^19.2.3","@polotno/pdf-export":"0.4.1","@polotno/svg-export":"0.1.1","@polotno/html-export":"0.1.0","@vitejs/plugin-react":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/pdf-import_0.2.0_1785292083584_0.1992520417540573","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@polotno/pdf-import","version":"0.2.1","author":{"name":"Anton Lavrenov"},"license":"SEE LICENSE IN LICENSE.md","_id":"@polotno/pdf-import@0.2.1","maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"},{"name":"nikigan","email":"gankin.n24@gmail.com"}],"dist":{"shasum":"b0cfd3dd1c0c11b62989a658645a4987cc698a5e","tarball":"https://registry.npmjs.org/@polotno/pdf-import/-/pdf-import-0.2.1.tgz","fileCount":5,"integrity":"sha512-7MXZVVn8nwCTRHzktrQgWqzpiro/0Zj1Dvrtluz/TabPb+OuOvn+IINHWivjMqkyb9VNNd9LJmqyiC4c7fiE5A==","signatures":[{"sig":"MEQCIEgPqY2JAfzxudgQ/+j/ABWzM2DAlYyu3zyjxidDR2VwAiBrQopPRlvDJBlE71rZH+VlM4CCDtq6MApMWXRoFflKng==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":1940202},"main":"./lib/index.js","type":"module","_from":"file:polotno-pdf-import-0.2.1.tgz","types":"./lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"scripts":{"dev":"vite client","test":"vitest run","build":"node generate-worker.js && node build.js","typecheck":"tsc --noEmit -p tsconfig.json","test:update":"UPDATE_SNAPSHOTS=1 vitest run tests/index.test.ts --update","test:visual":"VITEST_VISUAL=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only","pretypecheck":"node generate-worker.js","visual:corpus":"pnpm run build && node --experimental-strip-types --max-old-space-size=4096 scripts/visual-corpus.ts","visual:export":"pnpm exec turbo run build --filter=@polotno/pdf-import --filter=@polotno/pdf-export --filter=@polotno/svg-export --filter=@polotno/html-export && node --experimental-strip-types --max-old-space-size=4096 scripts/export-fidelity.ts","test:visual:baseline":"VITEST_VISUAL=1 VISUAL_SAVE_BASELINE=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only"},"_npmUser":{"name":"lavrton","email":"lavrton@gmail.com"},"_resolved":"/private/var/folders/c3/kp3_vs3x46z4qfz16x4cst600000gn/T/2f0548308befe6a58c132f3ab5ea76ad/polotno-pdf-import-0.2.1.tgz","_integrity":"sha512-7MXZVVn8nwCTRHzktrQgWqzpiro/0Zj1Dvrtluz/TabPb+OuOvn+IINHWivjMqkyb9VNNd9LJmqyiC4c7fiE5A==","_npmVersion":"11.9.0","description":"Convert PDF files into Polotno JSON format","directories":{},"_nodeVersion":"25.6.1","dependencies":{"pdfjs-dist":"^4.10.38","opentype.js":"2.0.0","@polotno/core":"0.3.0","@polotno/schema":"0.3.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.1.4","react":"^19.2.7","sharp":"^0.35.3","vitest":"^4.1.10","esbuild":"^0.28.1","polotno":"4.5.1","ssim.js":"^3.5.0","react-dom":"^19.2.7","typescript":"~6.0.3","@types/node":"^26.1.1","@types/react":"^19.2.17","polotno-node":"3.1.2","@types/react-dom":"^19.2.3","@polotno/pdf-export":"0.5.1","@polotno/svg-export":"0.1.2","@polotno/html-export":"0.1.1","@vitejs/plugin-react":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/pdf-import_0.2.1_1785362471038_0.7828481106329184","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@polotno/pdf-import","version":"0.3.0","author":{"name":"Anton Lavrenov"},"license":"SEE LICENSE IN LICENSE.md","_id":"@polotno/pdf-import@0.3.0","maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"},{"name":"nikigan","email":"gankin.n24@gmail.com"}],"dist":{"shasum":"521aceb55486f557a8aa9f7c3b86249eb191b128","tarball":"https://registry.npmjs.org/@polotno/pdf-import/-/pdf-import-0.3.0.tgz","fileCount":7,"integrity":"sha512-dNa8qfKFgrpTBW15RgKElsSvdPpznH7myimaUZ0Pmbvtd8CGGISqXLY6J2Vx1FuShtutq/rTkO6GXtM3ADtsTw==","signatures":[{"sig":"MEUCIQCYI1VI6gxd7vpmu7O98Q6DLS3SQW4ZACyA4aruRPy3uwIgdfprsfvhPr13PLJlpjqWvNP+ksNZYQtVuGC31JfmQ/4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3508120},"main":"./lib/index.js","type":"module","_from":"file:polotno-pdf-import-0.3.0.tgz","types":"./lib/index.d.ts","exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"scripts":{"dev":"vite client","test":"vitest run","build":"node generate-worker.js && node generate-cmaps.js && node build.js","typecheck":"tsc --noEmit -p tsconfig.json","test:update":"UPDATE_SNAPSHOTS=1 vitest run tests/index.test.ts --update","test:visual":"VITEST_VISUAL=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only","pretypecheck":"node generate-worker.js && node generate-cmaps.js","visual:corpus":"pnpm run build && node --experimental-strip-types --max-old-space-size=4096 scripts/visual-corpus.ts","test:visual:baseline":"VITEST_VISUAL=1 VISUAL_SAVE_BASELINE=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only"},"_npmUser":{"name":"lavrton","email":"lavrton@gmail.com"},"_resolved":"/private/var/folders/c3/kp3_vs3x46z4qfz16x4cst600000gn/T/a25c09fbb7f9f28acf6b39bcf41700c7/polotno-pdf-import-0.3.0.tgz","_integrity":"sha512-dNa8qfKFgrpTBW15RgKElsSvdPpznH7myimaUZ0Pmbvtd8CGGISqXLY6J2Vx1FuShtutq/rTkO6GXtM3ADtsTw==","_npmVersion":"11.9.0","description":"Convert PDF files into Polotno JSON format","directories":{},"_nodeVersion":"25.6.1","dependencies":{"pdfjs-dist":"^4.10.38","opentype.js":"2.0.0","@polotno/core":"0.4.0","@polotno/schema":"0.4.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.1.4","react":"^19.2.7","sharp":"^0.35.3","vitest":"^4.1.10","esbuild":"^0.28.1","polotno":"4.5.2","ssim.js":"^3.5.0","react-dom":"^19.2.7","typescript":"~6.0.3","@types/node":"^26.1.1","@types/react":"^19.2.17","polotno-node":"3.1.3","@types/react-dom":"^19.2.3","@vitejs/plugin-react":"^6.0.3"},"_npmOperationalInternal":{"tmp":"tmp/pdf-import_0.3.0_1785790052762_0.4099404480688358","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@polotno/pdf-import","version":"0.4.0","keywords":["pdf","pdf import","pdf to json","pdf to editable design","pdf to canvas","design editor","polotno","javascript"],"author":"Anton Lavrenov","license":"SEE LICENSE IN LICENSE.md","_id":"@polotno/pdf-import@0.4.0","maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"},{"name":"nikigan","email":"gankin.n24@gmail.com"}],"homepage":"https://polotno.com/docs/pdf-import","bugs":{"url":"https://polotno.com/contact"},"dist":{"shasum":"c640fc6b6b60f1cb3e97be4fa446e99a684f6892","tarball":"https://registry.npmjs.org/@polotno/pdf-import/-/pdf-import-0.4.0.tgz","fileCount":7,"integrity":"sha512-pX9r6xcuZ08+vJnJzthztljijNln/nC3u7eI44VEpl518EK+erLxp4r+eeDMZlNs2xTgkOfIbYWy6pt2pUMqKw==","signatures":[{"sig":"MEUCIQC7UMucacMpVTfMtoiqDm39rmXD0c0OTtt4QpAzIL08kAIgHgoPCNRNl9J8OtYDXnoUsEnhC1OOW2gnznXdrlQIsKg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3511897},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"scripts":{"dev":"vite client","test":"vitest run","build":"node generate-worker.js && node generate-cmaps.js && node build.js","typecheck":"tsc --noEmit -p tsconfig.json","test:update":"UPDATE_SNAPSHOTS=1 vitest run tests/index.test.ts --update","test:visual":"VITEST_VISUAL=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only","pretypecheck":"node generate-worker.js && node generate-cmaps.js","visual:corpus":"pnpm run build && node --experimental-strip-types --max-old-space-size=4096 scripts/visual-corpus.ts","test:visual:baseline":"VITEST_VISUAL=1 VISUAL_SAVE_BASELINE=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only","visual:corpus:baseline":"CORPUS_SAVE_BASELINE=1 pnpm run visual:corpus"},"_npmUser":{"name":"lavrton","email":"lavrton@gmail.com"},"description":"Convert PDFs into editable Polotno JSON designs with text, images, tables, and vector graphics in browsers and Node.js","directories":{},"sideEffects":false,"_nodeVersion":"25.6.1","dependencies":{"pdfjs-dist":"^4.10.38","opentype.js":"2.0.0","@polotno/core":"0.5.0","@polotno/schema":"0.5.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.2.1","react":"^19.2.8","sharp":"^0.35.3","vitest":"^4.1.10","esbuild":"^0.28.1","polotno":"4.6.0","ssim.js":"^3.5.0","react-dom":"^19.2.8","typescript":"~6.0.3","@types/node":"^26.1.2","@types/react":"^19.2.18","polotno-node":"3.2.0","@types/react-dom":"^19.2.4","@vitejs/plugin-react":"^6.0.5"},"_npmOperationalInternal":{"tmp":"tmp/pdf-import_0.4.0_1786118484414_0.8871365677963499","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@polotno/pdf-import","version":"0.5.0","keywords":["pdf","pdf import","pdf to json","pdf to editable design","pdf to canvas","design editor","polotno","javascript"],"author":"Anton Lavrenov","license":"SEE LICENSE IN LICENSE.md","_id":"@polotno/pdf-import@0.5.0","maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"},{"name":"nikigan","email":"gankin.n24@gmail.com"}],"homepage":"https://polotno.com/docs/pdf-import","bugs":{"url":"https://polotno.com/contact"},"dist":{"shasum":"959068cacd4a361e4610f7e1a96b0371a7893d68","tarball":"https://registry.npmjs.org/@polotno/pdf-import/-/pdf-import-0.5.0.tgz","fileCount":7,"integrity":"sha512-9qI9/7HQQIemuel7r63KrGFzPUD0AYHXpLcOtDgVZxMnotF4S1XQyd/8ckIP0L6vzD+zjt7M2DEZ5ndrrQLmBA==","signatures":[{"sig":"MEUCIQDOCE3e/401QYxpREsjU+lUtGK2PkWiHJfUVUQpOp6TCwIgCGSFsB7Mfw+AEpN8q6kHIfgWQiGdr7UANITu/qN7lHM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3514951},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"scripts":{"dev":"vite client","test":"vitest run","build":"node generate-worker.js && node generate-cmaps.js && node build.js","typecheck":"tsc --noEmit -p tsconfig.json","test:update":"UPDATE_SNAPSHOTS=1 vitest run tests/index.test.ts --update","test:visual":"VITEST_VISUAL=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only","pretypecheck":"node generate-worker.js && node generate-cmaps.js","visual:corpus":"pnpm run build && node --experimental-strip-types --max-old-space-size=4096 scripts/visual-corpus.ts","test:visual:baseline":"VITEST_VISUAL=1 VISUAL_SAVE_BASELINE=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only","visual:corpus:baseline":"CORPUS_SAVE_BASELINE=1 pnpm run visual:corpus"},"_npmUser":{"name":"lavrton","email":"lavrton@gmail.com"},"description":"Convert PDFs into editable Polotno JSON designs with text, images, tables, and vector graphics in browsers and Node.js","directories":{},"sideEffects":false,"_nodeVersion":"25.6.1","dependencies":{"pdfjs-dist":"^4.10.38","opentype.js":"2.0.0","@polotno/core":"0.6.0","@polotno/schema":"0.6.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.2.1","react":"^19.2.8","sharp":"^0.35.3","vitest":"^4.1.10","esbuild":"^0.28.1","polotno":"4.7.0","react-dom":"^19.2.8","typescript":"~6.0.3","@types/node":"^26.1.2","@types/react":"^19.2.18","polotno-node":"3.3.0","@types/react-dom":"^19.2.4","@vitejs/plugin-react":"^6.0.5","@polotno/visual-testing":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/pdf-import_0.5.0_1786651799015_0.13987324749468888","host":"s3://npm-registry-packages-npm-production"}},"0.5.1":{"name":"@polotno/pdf-import","version":"0.5.1","keywords":["pdf","pdf import","pdf to json","pdf to editable design","pdf to canvas","design editor","polotno","javascript"],"author":"Anton Lavrenov","license":"SEE LICENSE IN LICENSE.md","_id":"@polotno/pdf-import@0.5.1","maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"},{"name":"nikigan","email":"gankin.n24@gmail.com"}],"homepage":"https://polotno.com/docs/pdf-import","bugs":{"url":"https://polotno.com/contact"},"dist":{"shasum":"280db7c2e8eddc977e8ed5d3c92f914c9708029e","tarball":"https://registry.npmjs.org/@polotno/pdf-import/-/pdf-import-0.5.1.tgz","fileCount":7,"integrity":"sha512-FD1w4+JmZj/4Wkq3id/vwTE/jjQ8dnMYtkOcJP7gETOCC0aTmCTrM/tc6bRpeFALEUCimkPGhIAW8S2K9Bo+0g==","signatures":[{"sig":"MEUCIQDqmeJXmF4xkRk2j1HdPBLCRUO1xnvSUwPytGHV/uj4TAIgXlsfBpEvNyUEUthZzsiEsDI8YqXF2kXZ9a8vx50Ncks=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3517208},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"scripts":{"dev":"vite client","test":"vitest run","build":"node generate-worker.js && node generate-cmaps.js && node build.js","typecheck":"tsc --noEmit -p tsconfig.json","test:update":"UPDATE_SNAPSHOTS=1 vitest run tests/index.test.ts --update","test:visual":"VITEST_VISUAL=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only","pretypecheck":"node generate-worker.js && node generate-cmaps.js","visual:corpus":"pnpm run build && node --experimental-strip-types --max-old-space-size=4096 scripts/visual-corpus.ts","test:visual:baseline":"VITEST_VISUAL=1 VISUAL_SAVE_BASELINE=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only","visual:corpus:baseline":"CORPUS_SAVE_BASELINE=1 pnpm run visual:corpus"},"_npmUser":{"name":"lavrton","email":"lavrton@gmail.com"},"description":"Convert PDFs into editable Polotno JSON designs with text, images, tables, and vector graphics in browsers and Node.js","directories":{},"sideEffects":false,"_nodeVersion":"25.6.1","dependencies":{"pdfjs-dist":"^4.10.38","opentype.js":"2.0.0","@polotno/core":"0.7.0","@polotno/schema":"0.6.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.2.1","react":"^19.2.8","sharp":"^0.35.3","vitest":"^4.1.10","esbuild":"^0.28.1","polotno":"4.8.0","react-dom":"^19.2.8","typescript":"~6.0.3","@types/node":"^26.1.2","@types/react":"^19.2.18","polotno-node":"3.4.0","@types/react-dom":"^19.2.4","@vitejs/plugin-react":"^6.0.5","@polotno/visual-testing":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/pdf-import_0.5.1_1787150131482_0.642408669339247","host":"s3://npm-registry-packages-npm-production"}},"0.5.2":{"name":"@polotno/pdf-import","version":"0.5.2","keywords":["pdf","pdf import","pdf to json","pdf to editable design","pdf to canvas","design editor","polotno","javascript"],"author":"Anton Lavrenov","license":"SEE LICENSE IN LICENSE.md","_id":"@polotno/pdf-import@0.5.2","maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"},{"name":"nikigan","email":"gankin.n24@gmail.com"}],"homepage":"https://polotno.com/docs/pdf-import","bugs":{"url":"https://polotno.com/contact"},"dist":{"shasum":"498be57b5203aa1788c562ef0b3b72110e1f8eb0","tarball":"https://registry.npmjs.org/@polotno/pdf-import/-/pdf-import-0.5.2.tgz","fileCount":7,"integrity":"sha512-EJ8jnJqwPDbl0TFM0K/NH16RBWKAARNfuOG24e4o2nK4ZqWgTlioBd1XkQuqeNsscTiWvoOT37Wgi1ot6+h+8A==","signatures":[{"sig":"MEQCIAEMBx7lQIo78sKuqpb8M89xzd5h70VXXlCOBFFJzfKxAiAoMKmPhQrwdcCrcYZDpxYeVh+UyzKulO+s4/NNtiggAA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3522106},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"scripts":{"dev":"vite client","test":"vitest run","build":"node generate-worker.js && node generate-cmaps.js && node build.js","typecheck":"tsc --noEmit -p tsconfig.json","test:update":"UPDATE_SNAPSHOTS=1 vitest run tests/index.test.ts --update","test:visual":"VITEST_VISUAL=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only","pretypecheck":"node generate-worker.js && node generate-cmaps.js","visual:corpus":"pnpm run build && node --experimental-strip-types --max-old-space-size=4096 scripts/visual-corpus.ts","test:visual:baseline":"VITEST_VISUAL=1 VISUAL_SAVE_BASELINE=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only","visual:corpus:baseline":"CORPUS_SAVE_BASELINE=1 pnpm run visual:corpus"},"_npmUser":{"name":"lavrton","email":"lavrton@gmail.com"},"description":"Convert PDFs into editable Polotno JSON designs with text, images, tables, and vector graphics in browsers and Node.js","directories":{},"sideEffects":false,"_nodeVersion":"25.6.1","dependencies":{"pdfjs-dist":"^4.10.38","opentype.js":"2.0.0","@polotno/core":"0.8.0","@polotno/schema":"0.6.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.2.1","react":"^19.2.8","sharp":"^0.35.3","vitest":"^4.1.10","esbuild":"^0.28.1","polotno":"4.9.0","react-dom":"^19.2.8","typescript":"~6.0.3","@types/node":"^26.1.2","@types/react":"^19.2.18","polotno-node":"3.5.0","@types/react-dom":"^19.2.4","@vitejs/plugin-react":"^6.0.5","@polotno/visual-testing":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/pdf-import_0.5.2_1787696216117_0.16570214061838295","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"name":"@polotno/pdf-import","version":"0.6.0","keywords":["pdf","pdf import","pdf to json","pdf to editable design","pdf to canvas","design editor","polotno","javascript"],"author":"Anton Lavrenov","license":"SEE LICENSE IN LICENSE.md","_id":"@polotno/pdf-import@0.6.0","maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"},{"name":"nikigan","email":"gankin.n24@gmail.com"}],"homepage":"https://polotno.com/docs/pdf-import","bugs":{"url":"https://polotno.com/contact"},"dist":{"shasum":"a7ff673bad478ff2fd05fdb17249f7d800b81dc5","tarball":"https://registry.npmjs.org/@polotno/pdf-import/-/pdf-import-0.6.0.tgz","fileCount":7,"integrity":"sha512-bfOcbMmbssbcCStVKEh9uP2mWpVEHZFYKSzRJeHPERciMSdJmIR2dxnSKaRw5eY0vnlFk0PxaK3qVbHL/3eahw==","signatures":[{"sig":"MEUCIETdjmtiYiQTzzIIhWnBnwn8z0Gko/2LTgrqo+vm3Ar0AiEAlSp36vHhreFpnNPi+AIcSOAiTVZFm65xp13ViKGuFls=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3522346},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"scripts":{"dev":"vite client","test":"vitest run","build":"node generate-worker.js && node generate-cmaps.js && node build.js","typecheck":"tsc --noEmit -p tsconfig.json","test:update":"UPDATE_SNAPSHOTS=1 vitest run tests/index.test.ts --update","test:visual":"VITEST_VISUAL=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only","pretypecheck":"node generate-worker.js && node generate-cmaps.js","visual:corpus":"pnpm run build && node --experimental-strip-types --max-old-space-size=4096 scripts/visual-corpus.ts","test:visual:baseline":"VITEST_VISUAL=1 VISUAL_SAVE_BASELINE=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only","visual:corpus:baseline":"CORPUS_SAVE_BASELINE=1 pnpm run visual:corpus"},"_npmUser":{"name":"lavrton","email":"lavrton@gmail.com"},"description":"Convert PDFs into editable Polotno JSON designs with text, images, tables, and vector graphics in browsers and Node.js","directories":{},"sideEffects":false,"_nodeVersion":"25.6.1","dependencies":{"pdfjs-dist":"^4.10.38","opentype.js":"2.0.0","@polotno/core":"0.9.0","@polotno/schema":"0.6.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.2.1","react":"^19.2.8","sharp":"^0.35.3","vitest":"^4.1.10","esbuild":"^0.28.1","polotno":"4.10.0","react-dom":"^19.2.8","typescript":"~6.0.3","@types/node":"^26.1.2","@types/react":"^19.2.18","polotno-node":"3.6.0","@types/react-dom":"^19.2.4","@vitejs/plugin-react":"^6.0.5","@polotno/visual-testing":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/pdf-import_0.6.0_1787850063015_0.9533886259440312","host":"s3://npm-registry-packages-npm-production"}},"0.7.0":{"name":"@polotno/pdf-import","version":"0.7.0","keywords":["pdf","pdf import","pdf to json","pdf to editable design","pdf to canvas","design editor","polotno","javascript"],"author":"Anton Lavrenov","license":"SEE LICENSE IN LICENSE.md","_id":"@polotno/pdf-import@0.7.0","maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"},{"name":"nikigan","email":"gankin.n24@gmail.com"}],"homepage":"https://polotno.com/docs/pdf-import","bugs":{"url":"https://polotno.com/contact"},"dist":{"shasum":"14154730a68b80d996cb062a3ca868c66a3bcd99","tarball":"https://registry.npmjs.org/@polotno/pdf-import/-/pdf-import-0.7.0.tgz","fileCount":7,"integrity":"sha512-Ie4b218QX1s9R2fKK8CSd12lGVBuyM4cVuEiMeDQIz50w/TsHmssSo0ylsCM5V7F4nNiXLfzabjdMLAMv8qMCw==","signatures":[{"sig":"MEUCIQCuOkDlwSe69YeEz/BHRL5azATGYfYtgj9sk359iXWHCgIgYqjplCTO42PekB6HC4jZVI2AQQ65UMrQXB81pOh/nQ8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3634647},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"scripts":{"dev":"vite client","test":"vitest run","build":"node generate-worker.js && node generate-cmaps.js && node build.js","typecheck":"tsc --noEmit -p tsconfig.json","test:update":"UPDATE_SNAPSHOTS=1 vitest run tests/index.test.ts --update","test:visual":"VITEST_VISUAL=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only","pretypecheck":"node generate-worker.js && node generate-cmaps.js","visual:corpus":"pnpm run build && node --experimental-strip-types --max-old-space-size=4096 scripts/visual-corpus.ts","test:visual:baseline":"VITEST_VISUAL=1 VISUAL_SAVE_BASELINE=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only","visual:corpus:baseline":"CORPUS_SAVE_BASELINE=1 pnpm run visual:corpus"},"_npmUser":{"name":"lavrton","email":"lavrton@gmail.com"},"description":"Convert PDFs into editable Polotno JSON designs with text, images, tables, and vector graphics in browsers and Node.js","directories":{},"sideEffects":false,"_nodeVersion":"25.6.1","dependencies":{"pdfjs-dist":"^4.10.38","opentype.js":"2.0.0","@polotno/core":"0.11.0","@polotno/schema":"0.6.1"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.2.2","react":"^19.2.8","sharp":"^0.35.4","vitest":"^4.1.11","esbuild":"^0.28.2","polotno":"4.12.0","react-dom":"^19.2.8","typescript":"~6.0.3","@types/node":"^26.4.1","@types/react":"^19.2.18","polotno-node":"3.8.1","@types/react-dom":"^19.2.5","@vitejs/plugin-react":"^6.1.1","@polotno/visual-testing":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/pdf-import_0.7.0_1788966573152_0.8635200182361715","host":"s3://npm-registry-packages-npm-production"}},"0.8.0":{"name":"@polotno/pdf-import","version":"0.8.0","keywords":["pdf","pdf import","pdf to json","pdf to editable design","pdf to canvas","design editor","polotno","javascript"],"author":"Anton Lavrenov","license":"SEE LICENSE IN LICENSE.md","_id":"@polotno/pdf-import@0.8.0","maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"},{"name":"nikigan","email":"gankin.n24@gmail.com"}],"homepage":"https://polotno.com/docs/pdf-import","bugs":{"url":"https://polotno.com/contact"},"dist":{"shasum":"22d464c46bfcd8fa433bb2233f403fa9a9d2dfdf","tarball":"https://registry.npmjs.org/@polotno/pdf-import/-/pdf-import-0.8.0.tgz","fileCount":7,"integrity":"sha512-v40C/YZm96OBjNRrA6JU0s67Q/H+YFlsGFXZUOiIM26fRXy6Lqt4Bkg2dLZKsQN0X7SBpsJS3WW0vxCZ/iQf7Q==","signatures":[{"sig":"MEUCIQCi2zlxvxS1qqX44EfEPWpHx6HjkZLvCPSFxZAKGn+eUAIgTrqTxvtDANgbRB93YtUEH621RcV1/00iEDi1Ev7Ew3I=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":3657117},"main":"./lib/index.js","type":"module","types":"./lib/index.d.ts","engines":{"node":">=20"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"scripts":{"dev":"vite client","test":"vitest run","build":"node generate-worker.js && node generate-cmaps.js && node build.js","typecheck":"tsc --noEmit -p tsconfig.json","test:update":"UPDATE_SNAPSHOTS=1 vitest run tests/index.test.ts --update","test:visual":"VITEST_VISUAL=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only","pretypecheck":"node generate-worker.js && node generate-cmaps.js","visual:corpus":"pnpm run build && node --experimental-strip-types --max-old-space-size=4096 scripts/visual-corpus.ts","test:visual:baseline":"VITEST_VISUAL=1 VISUAL_SAVE_BASELINE=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only","visual:corpus:baseline":"CORPUS_SAVE_BASELINE=1 pnpm run visual:corpus"},"_npmUser":{"name":"lavrton","email":"lavrton@gmail.com"},"description":"Convert PDFs into editable Polotno JSON designs with text, images, tables, and vector graphics in browsers and Node.js","directories":{},"sideEffects":false,"dependencies":{"pdfjs-dist":"^4.10.38","opentype.js":"2.0.0","@polotno/core":"0.12.0","@polotno/schema":"0.6.2"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.3.0","react":"^19.3.0","sharp":"^0.35.4","vitest":"^5.0.1","esbuild":"^0.28.2","polotno":"4.12.1","react-dom":"^19.3.0","typescript":"~6.0.3","@types/node":"^26.6.1","@types/react":"^19.3.0","polotno-node":"3.9.0","@types/react-dom":"^19.3.0","@vitejs/plugin-react":"^6.1.1","@polotno/visual-testing":"0.0.0"},"_npmOperationalInternal":{"tmp":"tmp/pdf-import_0.8.0_1789653510814_0.4984926951900721","host":"s3://npm-registry-packages-npm-production"}},"0.9.0":{"_id":"@polotno/pdf-import@0.9.0","bugs":{"url":"https://polotno.com/contact"},"dist":{"shasum":"3f229cd131452714e71e84c7591ff23e82e5bbbe","tarball":"https://registry.npmjs.org/@polotno/pdf-import/-/pdf-import-0.9.0.tgz","fileCount":7,"integrity":"sha512-pzCvnvO2JctxmcZycxbsidUs1gpb7Z3KhcmcskmKPeB3nby81XewkTwE+eTT2QSi+pk50V3TZy4m/yVv0L9ltQ==","signatures":[{"sig":"MEQCIESsEDLVQae5prTr/RcFQcGQ+3q2ZlXYVtSm1Db9T5OaAiBHAKCtUQxsSsUamwfenCjSXH1axiMAQLqrT0J6T+mT4A==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIH0bQmHpYdDvaL7pnTVZDrGsSN4uns/r7l0he2hA8c2bAiEAmu0oaRG3tqZznuk1V/j8NpJmexPPlqYPe3pHtm03vYg="}],"unpackedSize":3669027},"main":"./lib/index.js","name":"@polotno/pdf-import","type":"module","types":"./lib/index.d.ts","author":"Anton Lavrenov","engines":{"node":">=20"},"exports":{".":{"types":"./lib/index.d.ts","import":"./lib/index.js"}},"license":"SEE LICENSE IN LICENSE.md","scripts":{"dev":"vite client","test":"vitest run","build":"node generate-worker.js && node generate-cmaps.js && node build.js","typecheck":"tsc --noEmit -p tsconfig.json","test:update":"UPDATE_SNAPSHOTS=1 vitest run tests/index.test.ts --update","test:visual":"VITEST_VISUAL=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only","pretypecheck":"node generate-worker.js && node generate-cmaps.js","visual:corpus":"pnpm run build && node --experimental-strip-types --max-old-space-size=4096 scripts/visual-corpus.ts","test:visual:baseline":"VITEST_VISUAL=1 VISUAL_SAVE_BASELINE=1 NODE_OPTIONS=--max-old-space-size=4096 vitest run tests/visual-regression.test.ts --reporter=dot --silent=passed-only","visual:corpus:baseline":"CORPUS_SAVE_BASELINE=1 pnpm run visual:corpus"},"version":"0.9.0","_npmUser":{"name":"lavrton","email":"lavrton@gmail.com"},"homepage":"https://polotno.com/docs/pdf-import","keywords":["pdf","pdf import","pdf to json","pdf to editable design","pdf to canvas","design editor","polotno","javascript"],"description":"Convert PDFs into editable Polotno JSON designs with text, images, tables, and vector graphics in browsers and Node.js","directories":{},"maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"},{"name":"nikigan","email":"gankin.n24@gmail.com"}],"sideEffects":false,"dependencies":{"pdfjs-dist":"^4.10.38","opentype.js":"2.0.0","@polotno/core":"0.13.0","@polotno/schema":"0.7.0"},"_hasShrinkwrap":false,"devDependencies":{"vite":"^8.3.0","react":"^19.3.0","sharp":"^0.35.4","vitest":"^5.0.1","esbuild":"^0.28.2","polotno":"4.13.0","react-dom":"^19.3.0","typescript":"~6.0.3","@types/node":"^26.6.1","@types/react":"^19.3.0","polotno-node":"3.10.0","@types/react-dom":"^19.3.0","@vitejs/plugin-react":"^6.1.1","@polotno/visual-testing":"0.0.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/pdf-import_0.9.0_1790348999586_0.8944727837989344"}}},"time":{"created":"2026-03-11T17:21:11.081Z","modified":"2026-09-25T15:09:59.932Z","0.0.1":"2026-03-11T17:21:11.237Z","0.0.2":"2026-03-12T01:17:43.686Z","0.0.3":"2026-03-12T03:14:46.186Z","0.0.4":"2026-03-31T15:35:20.162Z","0.0.5":"2026-04-03T14:43:19.223Z","0.0.6":"2026-04-03T15:28:24.119Z","0.0.7":"2026-05-22T14:20:18.698Z","0.0.8":"2026-06-17T10:21:34.123Z","0.0.9":"2026-06-20T13:04:51.339Z","0.0.10":"2026-06-20T13:53:05.671Z","0.0.11":"2026-07-07T19:48:07.936Z","0.0.12":"2026-07-14T17:19:41.106Z","0.1.0":"2026-07-22T20:37:19.622Z","0.2.0":"2026-07-29T02:28:03.741Z","0.2.1":"2026-07-29T22:01:11.244Z","0.3.0":"2026-08-03T20:47:33.010Z","0.4.0":"2026-08-07T16:01:24.599Z","0.5.0":"2026-08-13T20:09:59.244Z","0.5.1":"2026-08-19T14:35:31.654Z","0.5.2":"2026-08-25T22:16:56.363Z","0.6.0":"2026-08-27T17:01:03.206Z","0.7.0":"2026-09-09T15:09:33.323Z","0.8.0":"2026-09-17T13:58:31.008Z","0.9.0":"2026-09-25T15:09:59.728Z"},"bugs":{"url":"https://polotno.com/contact"},"author":"Anton Lavrenov","license":"SEE LICENSE IN LICENSE.md","homepage":"https://polotno.com/docs/pdf-import","keywords":["pdf","pdf import","pdf to json","pdf to editable design","pdf to canvas","design editor","polotno","javascript"],"description":"Convert PDFs into editable Polotno JSON designs with text, images, tables, and vector graphics in browsers and Node.js","maintainers":[{"name":"lavrton","email":"lavrton@gmail.com"},{"name":"nikigan","email":"gankin.n24@gmail.com"}],"readme":"# @polotno/pdf-import — PDF to editable Polotno JSON\n\n**Turn a PDF back into an editable design.**\n\n**Works without the editor.** The converter returns plain\n[Polotno design JSON](https://polotno.com/docs/schema).\n\n**Runtime:** Browser and Node.js 20 or newer. Conversion runs locally.\n\n[Documentation](https://polotno.com/docs/pdf-import) ·\n[Try PDF to JSON in your browser](https://polotno.com/tools/pdf-to-json)\n\n> **License:** Non-production use is free, with no time limit. Production use\n> requires a valid Polotno subscription. [Read the license](./LICENSE.md).\n\nMost PDF libraries give you a wall of text. This one gives you the design back:\ntext elements with their fonts, real tables with rows and cells, vector shapes,\nimages, and page order. The output is [Polotno](https://polotno.com/) JSON. You\ncan edit it, and you can render it again.\n\nNo OCR. No flattened page image. It reads the PDF content stream directly.\n\n| A text extractor returns       | `@polotno/pdf-import` returns                                   |\n| ------------------------------ | --------------------------------------------------------------- |\n| One string per page            | Text elements with font, size, color, alignment and line height |\n| The cell text in reading order | One table element with rows, columns and cells                  |\n| Nothing, or a page screenshot  | SVG paths, gradients, patterns and native rectangle shapes      |\n| A list of embedded image blobs | Images with position, rotation, crop, flip and border           |\n| Flat lines of text             | Paragraphs, columns, bullet lists and rotated text              |\n\n## Features\n\n- **Structure, not a text dump** — It groups glyphs into lines, paragraphs,\n  columns and blocks. Alignment (left, center, right, justified) and line height\n  come from the geometry, not from a guess.\n- **Native tables** — A ruled grid becomes one Polotno `table` element with real\n  rows and cells. Cell text and vertical alignment come from the source. A grid\n  that is not a clean data table falls back to lines and text.\n- **Bullet lists** — A marker column beside a body column becomes one list\n  element. Continuation lines stay with their own item.\n- **Rich text runs** — Bold, italic, color and size changes inside one paragraph\n  survive as styled runs. Paragraph indents survive as leading spaces.\n- **Vector art** — Paths, linear and radial gradients, tiling patterns and clip\n  paths become SVG elements. A single axis-aligned rectangle becomes a native\n  figure with an editable fill and stroke.\n- **Fonts** — It extracts the embedded font program and re-embeds it, or matches\n  the font to the closest Google family. It handles small caps, letter spacing\n  and CJK encodings. The Adobe CMap tables ship in the package.\n- **Images** — It recovers position, rotation, mirror and crop from the transform\n  matrix, and transcodes CMYK JPEGs. A stroked frame around an image folds into\n  the border of that image.\n- **Effects that stay editable** — A rasterized drop shadow becomes\n  `shadowEnabled` on the text element, so the shadow follows your edits. It also\n  reads soft masks, blend modes and text used as a clipping path.\n- **Curved text** — It finds text set along a circular path and emits one curved\n  text element.\n- **Invisible content stays invisible** — It drops hidden optional-content (OCG)\n  layers and OCR text layers, so the JSON matches what a PDF reader shows.\n- **Form fields** — Widget annotation text imports with its own font, size and\n  rotation.\n- **Browser and Node** — One API, one package, no extra setup.\n\n## Install\n\n```bash\nnpm install @polotno/pdf-import\n```\n\n## Quick start\n\nNode.js:\n\n```ts\nimport fs from 'fs';\nimport { pdfToJson } from '@polotno/pdf-import';\n\nconst pdfBuffer = fs.readFileSync('document.pdf');\nconst json = await pdfToJson({ pdf: pdfBuffer });\n```\n\nBrowser:\n\n```ts\nimport { pdfToJson } from '@polotno/pdf-import';\n\nconst input = document.querySelector('input[type=\"file\"]');\ninput.addEventListener('change', async (e) => {\n  const file = e.target.files[0];\n  const json = await pdfToJson({ pdf: await file.arrayBuffer() });\n  // Optional: load the design into a Polotno store.\n  store.loadJSON(json);\n});\n```\n\n## What comes out\n\nA Polotno design. Each page holds typed elements in paint order:\n\n<!-- prettier-ignore -->\n```jsonc\n{\n  \"width\": 816,          // US Letter in CSS pixels at 96 dpi\n  \"height\": 1056,\n  \"unit\": \"px\",\n  \"dpi\": 96,\n  \"fonts\": [{ \"fontFamily\": \"Lexend\", \"url\": \"data:font/opentype;base64,...\" }],\n  \"pages\": [\n    {\n      \"id\": \"id_1\",\n      \"background\": \"#FFFFFF\",\n      \"children\": [\n        { \"type\": \"image\", \"x\": 315.8, \"y\": 143.8, \"width\": 183.3, \"rotation\": 0 },\n        { \"type\": \"text\", \"text\": \"Quarterly report\", \"fontSize\": 32, \"align\": \"center\" },\n        { \"type\": \"figure\", \"subType\": \"rect\", \"fill\": \"#0B5FFF\", \"strokeWidth\": 2 },\n        { \"type\": \"svg\", \"src\": \"data:image/svg+xml;...\", \"keepRatio\": false },\n        { \"type\": \"table\", \"rows\": 6, \"cols\": 4, \"colWidths\": [], \"cells\": [] }\n      ]\n    }\n  ]\n}\n```\n\nEvery field is a normal Polotno property. Change the text, swap a color, move an\nelement, then write the file out again.\n\n## Round trip\n\nThe same JSON goes back out through the Polotno export packages:\n\n- [`@polotno/pdf-export`](https://www.npmjs.com/package/@polotno/pdf-export) — back to PDF\n- [`@polotno/svg-export`](https://www.npmjs.com/package/@polotno/svg-export) — to SVG\n- [`@polotno/html-export`](https://www.npmjs.com/package/@polotno/html-export) — to HTML\n- [`@polotno/pptx-export`](https://www.npmjs.com/package/@polotno/pptx-export) — to PowerPoint\n\nTo give your users a canvas, load the JSON into the\n[Polotno editor](https://polotno.com/) with `store.loadJSON(json)`.\n\n## Options\n\n```ts\nconst json = await pdfToJson({\n  pdf: pdfBuffer,\n\n  // 'auto' (default): a font that resolves to a real Google family keeps its\n  //   name and loads from Google Fonts. Custom fonts are embedded as data URIs.\n  // 'embed': every font is embedded. Google families are renamed \"Name (PDF)\".\n  //   Highest fidelity, and it works offline.\n  // 'googleFontsMatch': nothing is embedded. An unknown font maps to the\n  //   metrically closest Google family.\n  fontStrategy: 'auto',\n\n  // Multiplier for all geometry. The default 96/72 converts PDF points to CSS\n  // pixels, so a 1080x1350 Canva design comes back as 1080x1350, not\n  // 810x1012.5. The dpi scales with it, so the physical print size does not\n  // change. Pass 1 to keep raw PDF points.\n  scale: 96 / 72,\n\n  // Only for a PDF that asks for a password to open it.\n  password: 'secret',\n\n  // Called for each non-fatal problem. See \"Warnings\" below.\n  onWarning: (warning) => console.warn(warning.code, warning.details),\n});\n```\n\n## Warnings\n\nA PDF can be valid and still hold content that cannot convert. Without\n`onWarning` these cases only reach `console.warn`. You then cannot tell a clean\nresult from one that dropped an image.\n\n```ts\nawait pdfToJson({\n  pdf: pdfBuffer,\n  onWarning: (warning) => {\n    // warning.code is stable. Branch on it, not on warning.message.\n    if (warning.code === 'IMAGE_SKIPPED') {\n      // warning.details.reason: 'extract-failed' | 'no-source' | 'clipped-out'\n      // warning.details.pageIndex: zero-based page index\n      report(warning.details);\n    }\n  },\n});\n```\n\nPDF groups stay editable when their opacity or blend mode affects the result.\nIf a non-isolated group's contents blend with objects behind it, the importer\nuses an isolated group and reports `UNSUPPORTED_TRANSPARENCY_GROUP`.\n\nIf a group's bounds cut text, the importer uses cropped vector outlines when possible.\nOtherwise, the text stays editable and the importer reports `UNSUPPORTED_TEXT_CLIP`.\n\n## Password-protected PDFs\n\nA PDF that only restricts printing or copying imports normally. One that needs a\npassword to open takes `password`. Without it, or with the wrong one,\n`pdfToJson` throws `IMPORT_FAILED` with a reason. You can then ask the user and\ntry again:\n\n```ts\ntry {\n  return await pdfToJson({ pdf: pdfBuffer, password });\n} catch (e) {\n  if (e.details?.reason === 'password-required') {\n    // ask for a password\n  }\n  if (e.details?.reason === 'password-incorrect') {\n    // ask again\n  }\n  throw e; // no reason: the bytes are not a readable PDF\n}\n```\n\n## Documentation\n\nFull guide and a live demo: [PDF Import Guide](https://polotno.com/docs/pdf-import).\n\n## License\n\nSee [LICENSE.md](./LICENSE.md).\n","readmeFilename":""}