{"_id":"@pvanweel/react-pdf-all-pages","_rev":"25-3b289a5c48594e280c399ca4b90d9e2a","name":"@pvanweel/react-pdf-all-pages","dist-tags":{"latest":"1.0.19"},"versions":{"1.0.10":{"name":"@pvanweel/react-pdf-all-pages","version":"1.0.10","keywords":["react","pdf","all","pages","simple","styling","built-in styling"],"author":{"name":"Patrick Van Weelden"},"license":"MIT","_id":"@pvanweel/react-pdf-all-pages@1.0.10","maintainers":[{"name":"pvanweel","email":"pvanweel@yahoo.com"}],"dist":{"shasum":"32cb3f3ae58918f25127fa5abf154c9a953b808a","tarball":"https://registry.npmjs.org/@pvanweel/react-pdf-all-pages/-/react-pdf-all-pages-1.0.10.tgz","fileCount":8,"integrity":"sha512-IcoRtWxmlvuRHd1lXzI0TpmQTtro64CRswaWxslcrg32YI3FdvOUEQQXFYxzgXIIwir8jIFdFxXR8fdjcKlssw==","signatures":[{"sig":"MEMCHyp05nZg5BwEBZNJhS96wP+WvAWC53iTz987M9UmqrgCIHvlAqFEeJdqMOv4xWEBXTCeITxoPJtabKUCrvgobLPY","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17704},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"lint":"eslint","build":"tsup src/index.tsx --dts --format esm,cjs"},"_npmUser":{"name":"pvanweel","email":"pvanweel@yahoo.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/pvanweel2997/react-pdf-all-pages.git","type":"git"},"description":"Simple React component to wrap up PDF.js. The easiest way to render all pages of a PDF in your React app.  Comes with default styling.","directories":{},"_hasShrinkwrap":false,"devDependencies":{"tsup":"8.0.2","pdfjs-dist":"^4.6.82","typescript":"5.4.5","@types/jest":"29.5.12","@types/react":"18.3.3","@types/react-dom":"18.3.0","jest-canvas-mock":"2.5.2","@vitejs/plugin-react":"4.3.0","@testing-library/react":"15.0.7"},"peerDependencies":{"react":"^18.2.0","react-dom":"^18.2.0","pdfjs-dist":"^4.5.136"},"bundleDependencies":[],"_npmOperationalInternal":{"tmp":"tmp/react-pdf-all-pages_1.0.10_1725483558051_0.5566621838094292","host":"s3://npm-registry-packages"}},"1.0.11":{"name":"@pvanweel/react-pdf-all-pages","version":"1.0.11","keywords":["react","pdf","all","pages","simple","styling","built-in styling"],"author":{"name":"Patrick Van Weelden"},"license":"MIT","_id":"@pvanweel/react-pdf-all-pages@1.0.11","maintainers":[{"name":"pvanweel","email":"pvanweel@yahoo.com"}],"dist":{"shasum":"a30b41b2b7ec21a55de9e557c6c8db384a8261df","tarball":"https://registry.npmjs.org/@pvanweel/react-pdf-all-pages/-/react-pdf-all-pages-1.0.11.tgz","fileCount":8,"integrity":"sha512-qonW3UkR4ORU18wwYHLF1gThNTTT2LG7slNe3Nc1f3oUuBVRmn0c4Alehiaeql0QWA/rKAm3Svz7HoOF+MvJ+w==","signatures":[{"sig":"MEUCIQDMDTHafgHmGk77fUNHHFDJGmwDT02karbCnfGNU8Y96QIgSPXg//Gs6WesAZvc15s2ie6zwuhblNDwGHecZtl/lDA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17840},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"lint":"eslint","build":"tsup src/index.tsx --dts --format esm,cjs"},"_npmUser":{"name":"pvanweel","email":"pvanweel@yahoo.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/pvanweel2997/react-pdf-all-pages.git","type":"git"},"description":"Simple React component to wrap up PDF.js. The easiest way to render all pages of a PDF in your React app.  Comes with default styling.","directories":{},"_hasShrinkwrap":false,"devDependencies":{"tsup":"8.0.2","pdfjs-dist":"^4.6.82","typescript":"5.4.5","@types/jest":"29.5.12","@types/react":"18.3.3","@types/react-dom":"18.3.0","jest-canvas-mock":"2.5.2","@vitejs/plugin-react":"4.3.0","@testing-library/react":"15.0.7"},"peerDependencies":{"react":"^18.2.0","react-dom":"^18.2.0","pdfjs-dist":"^4.5.136"},"bundleDependencies":[],"_npmOperationalInternal":{"tmp":"tmp/react-pdf-all-pages_1.0.11_1725537777057_0.019890888327870115","host":"s3://npm-registry-packages"}},"1.0.12":{"name":"@pvanweel/react-pdf-all-pages","version":"1.0.12","keywords":["react","pdf","all","pages","simple","styling","built-in styling"],"author":{"name":"Patrick Van Weelden"},"license":"MIT","_id":"@pvanweel/react-pdf-all-pages@1.0.12","maintainers":[{"name":"pvanweel","email":"pvanweel@yahoo.com"}],"dist":{"shasum":"22f731900cf6683a5c5a81b49ec4ed321ba12ac8","tarball":"https://registry.npmjs.org/@pvanweel/react-pdf-all-pages/-/react-pdf-all-pages-1.0.12.tgz","fileCount":8,"integrity":"sha512-2vZMVwNT4VPnDRbhUOdK6i9dpa0adwLLf9vX1a9MR6aDpNHvCthZr6xknfuC6VRidPLx/YpbD1pSwUtannpFOQ==","signatures":[{"sig":"MEYCIQCneyttxrK/mMxvtVMbAmZlEgx3GyhyQAQc+bJTzVYvcwIhAMoTCM+4AJPmcZSQ+srjn/Xjk3++HJNTp63xpqj5X3+8","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17840},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"lint":"eslint","build":"tsup src/index.tsx --dts --format esm,cjs"},"_npmUser":{"name":"pvanweel","email":"pvanweel@yahoo.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/pvanweel2997/react-pdf-all-pages.git","type":"git"},"description":"Simple React component to wrap up PDF.js. The easiest way to render all pages of a PDF in your React app.  Comes with default styling.","directories":{},"_hasShrinkwrap":false,"devDependencies":{"tsup":"8.0.2","pdfjs-dist":"^4.6.82","typescript":"5.4.5","@types/jest":"29.5.12","@types/react":"18.3.3","@types/react-dom":"18.3.0","jest-canvas-mock":"2.5.2","@vitejs/plugin-react":"4.3.0","@testing-library/react":"15.0.7"},"peerDependencies":{"react":"^18.2.0","react-dom":"^18.2.0","pdfjs-dist":"^4.5.136"},"bundleDependencies":[],"_npmOperationalInternal":{"tmp":"tmp/react-pdf-all-pages_1.0.12_1725540117834_0.04769474304555721","host":"s3://npm-registry-packages"}},"1.0.13":{"name":"@pvanweel/react-pdf-all-pages","version":"1.0.13","keywords":["react","pdf","all","pages","simple","styling","built-in styling"],"author":{"name":"Patrick Van Weelden"},"license":"MIT","_id":"@pvanweel/react-pdf-all-pages@1.0.13","maintainers":[{"name":"pvanweel","email":"pvanweel@yahoo.com"}],"dist":{"shasum":"2231cea423e15fc9856e4d8a75718054f9f8cd18","tarball":"https://registry.npmjs.org/@pvanweel/react-pdf-all-pages/-/react-pdf-all-pages-1.0.13.tgz","fileCount":8,"integrity":"sha512-zjoUEovEpStYft4+5y3cnCEbsMORR+jxygEysj96P4S/YEtLE3bxCSXga275cGsbd42nwykVD8OQotUCqcJ8GA==","signatures":[{"sig":"MEUCIQD03W17nMJGQQ0rwdsJX4wz0IveZonEyzNGzXZT8xg6DQIgYprVXSfXI9A8YiUWzv8YJ6fop5Iz0IWxva+1HD+Mum4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17849},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"lint":"eslint","build":"tsup src/index.tsx --dts --format esm,cjs"},"_npmUser":{"name":"pvanweel","email":"pvanweel@yahoo.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/pvanweel2997/react-pdf-all-pages.git","type":"git"},"description":"Simple React component to wrap up PDF.js. The easiest way to render all pages of a PDF in your React app.  Comes with default styling.","directories":{},"_hasShrinkwrap":false,"devDependencies":{"tsup":"8.0.2","pdfjs-dist":"^4.6.82","typescript":"5.4.5","@types/jest":"29.5.12","@types/react":"18.3.3","@types/react-dom":"18.3.0","jest-canvas-mock":"2.5.2","@vitejs/plugin-react":"4.3.0","@testing-library/react":"15.0.7"},"peerDependencies":{"react":"^18.2.0","react-dom":"^18.2.0","pdfjs-dist":"^4.5.136"},"bundleDependencies":[],"_npmOperationalInternal":{"tmp":"tmp/react-pdf-all-pages_1.0.13_1725543175546_0.2714565696595548","host":"s3://npm-registry-packages"}},"1.0.14":{"name":"@pvanweel/react-pdf-all-pages","version":"1.0.14","keywords":["react","pdf","all","pages","simple","styling","built-in styling"],"author":{"name":"Patrick Van Weelden"},"license":"MIT","_id":"@pvanweel/react-pdf-all-pages@1.0.14","maintainers":[{"name":"pvanweel","email":"pvanweel@yahoo.com"}],"dist":{"shasum":"a0dc31e70cead548e66a7806a3045cfd4eec28f7","tarball":"https://registry.npmjs.org/@pvanweel/react-pdf-all-pages/-/react-pdf-all-pages-1.0.14.tgz","fileCount":8,"integrity":"sha512-BU38AXAzes4VzqxadJi8jomf0tS2J8uf/8F98ijQDfdXIRggXAzOrwhPUTXFh+UMGixlTSU48knodvITo32W9g==","signatures":[{"sig":"MEYCIQCjJhcErgsE4kyGyB33qFf/DS0i5Gsfr5D6DLCnEPw0PgIhAMU4uRp8vkvJI8FfA6ohKQJzydSFtOTr4yFhsFsMVcof","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17945},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"lint":"eslint","build":"tsup src/index.tsx --dts --format esm,cjs"},"_npmUser":{"name":"pvanweel","email":"pvanweel@yahoo.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/pvanweel2997/react-pdf-all-pages.git","type":"git"},"description":"Simple React component to wrap up PDF.js. The easiest way to render all pages of a PDF in your React app.  Comes with default styling.","directories":{},"_hasShrinkwrap":false,"devDependencies":{"tsup":"8.0.2","pdfjs-dist":"^4.6.82","typescript":"5.4.5","@types/jest":"29.5.12","@types/react":"18.3.3","@types/react-dom":"18.3.0","jest-canvas-mock":"2.5.2","@vitejs/plugin-react":"4.3.0","@testing-library/react":"15.0.7"},"peerDependencies":{"react":"^18.2.0","react-dom":"^18.2.0","pdfjs-dist":"^4.5.136"},"bundleDependencies":[],"_npmOperationalInternal":{"tmp":"tmp/react-pdf-all-pages_1.0.14_1725663417139_0.002545866473917968","host":"s3://npm-registry-packages"}},"1.0.15":{"name":"@pvanweel/react-pdf-all-pages","version":"1.0.15","keywords":["react","pdf","all","pages","simple","styling","built-in styling"],"author":{"name":"Patrick Van Weelden"},"license":"MIT","_id":"@pvanweel/react-pdf-all-pages@1.0.15","maintainers":[{"name":"pvanweel","email":"pvanweel@yahoo.com"}],"dist":{"shasum":"2a198d6653032a1b7c6ae9c70280280d8471395b","tarball":"https://registry.npmjs.org/@pvanweel/react-pdf-all-pages/-/react-pdf-all-pages-1.0.15.tgz","fileCount":8,"integrity":"sha512-iFVV3FUa4M5wmCsJrNQxC0kTuNj3mHSwY27y7E5OCW1z/zM0TnIF8VCb2AZKT/gdcxZegScyB9aIbQ4TNmR0pQ==","signatures":[{"sig":"MEYCIQCdFoEnlNnOg2LoZmDmxxJUOmLql+ci6XI668XyvEficAIhAIjeihTjxIhxfl1QXQ0zAp2WF5J/z8ALCn1ejrwAQ8MQ","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17946},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"lint":"eslint","build":"tsup src/index.tsx --dts --format esm,cjs"},"_npmUser":{"name":"pvanweel","email":"pvanweel@yahoo.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/pvanweel2997/react-pdf-all-pages.git","type":"git"},"description":"Simple React component to wrap up PDF.js. The easiest way to render all pages of a PDF in your React app.  Comes with default styling.","directories":{},"_hasShrinkwrap":false,"devDependencies":{"tsup":"8.0.2","pdfjs-dist":"^4.6.82","typescript":"5.4.5","@types/jest":"29.5.12","@types/react":"18.3.3","@types/react-dom":"18.3.0","jest-canvas-mock":"2.5.2","@vitejs/plugin-react":"4.3.0","@testing-library/react":"15.0.7"},"peerDependencies":{"react":"^18.2.0","react-dom":"^18.2.0","pdfjs-dist":"^4.5.136"},"bundleDependencies":[],"_npmOperationalInternal":{"tmp":"tmp/react-pdf-all-pages_1.0.15_1725718643207_0.447941722226187","host":"s3://npm-registry-packages"}},"1.0.16":{"name":"@pvanweel/react-pdf-all-pages","version":"1.0.16","keywords":["react","pdf","all","pages","simple","styling","built-in styling"],"author":{"name":"Patrick Van Weelden"},"license":"MIT","_id":"@pvanweel/react-pdf-all-pages@1.0.16","maintainers":[{"name":"pvanweel","email":"pvanweel@yahoo.com"}],"dist":{"shasum":"be959fcb99e2dd74345c801cdb93433cad204b7c","tarball":"https://registry.npmjs.org/@pvanweel/react-pdf-all-pages/-/react-pdf-all-pages-1.0.16.tgz","fileCount":8,"integrity":"sha512-B7EIpCWR3NIrYjxqGiDlugc1HpSgB4riysVHRlC3anWc6eGwz6jz/+LnARfUscwIbi962pvC7caVNefspG3AcQ==","signatures":[{"sig":"MEUCIQDHPvzZO8Cl3xtmjPt1xtWjA2nhEFBGaSJrjRsqpsLIsgIgQyGFN8aoZNdJWe/P043PcnpFKAXnEC4TD/GH7M9l2WI=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17909},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"lint":"eslint","build":"tsup src/index.tsx --dts --format esm,cjs"},"_npmUser":{"name":"pvanweel","email":"pvanweel@yahoo.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/pvanweel2997/react-pdf-all-pages.git","type":"git"},"description":"Simple React component to wrap up PDF.js. The easiest way to render all pages of a PDF in your React app.  Comes with default styling.","directories":{},"_hasShrinkwrap":false,"devDependencies":{"tsup":"8.0.2","pdfjs-dist":"^4.6.82","typescript":"5.4.5","@types/jest":"29.5.12","@types/react":"18.3.3","@types/react-dom":"18.3.0","jest-canvas-mock":"2.5.2","@vitejs/plugin-react":"4.3.0","@testing-library/react":"15.0.7"},"peerDependencies":{"react":"^18.2.0","react-dom":"^18.2.0","pdfjs-dist":"^4.5.136"},"bundleDependencies":[],"_npmOperationalInternal":{"tmp":"tmp/react-pdf-all-pages_1.0.16_1725720819946_0.6797797072310301","host":"s3://npm-registry-packages"}},"1.0.17":{"name":"@pvanweel/react-pdf-all-pages","version":"1.0.17","keywords":["react","pdf","all","pages","simple","styling","built-in styling"],"author":{"name":"Patrick Van Weelden"},"license":"MIT","_id":"@pvanweel/react-pdf-all-pages@1.0.17","maintainers":[{"name":"pvanweel","email":"pvanweel@yahoo.com"}],"dist":{"shasum":"f98d80a2210934151c1a371276e1c820eb4e61e2","tarball":"https://registry.npmjs.org/@pvanweel/react-pdf-all-pages/-/react-pdf-all-pages-1.0.17.tgz","fileCount":8,"integrity":"sha512-7ucQULy/UM+JKPJiLlLGJ5Srz8EUg8cstrgjmxU5ArmV7ENkXk0688ERmckRescjEHqKAjBIOJIVqe5s5+v9Rg==","signatures":[{"sig":"MEUCIQC2JTcZtyFAKhCxPTvc11Y/iGjrGrz2j1SmOidxmHceFQIgDwUt7UC+PLiuQMOi4rGgbGYwCiFNYpmdh254q4k3HVQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":17909},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"lint":"eslint","build":"tsup src/index.tsx --dts --format esm,cjs"},"_npmUser":{"name":"pvanweel","email":"pvanweel@yahoo.com"},"prettier":{"semi":true,"printWidth":80,"singleQuote":true,"trailingComma":"es5"},"repository":{"url":"git+https://github.com/pvanweel2997/react-pdf-all-pages.git","type":"git"},"description":"Simple React component to wrap up PDF.js. The easiest way to render all pages of a PDF in your React app.  Comes with default styling.","directories":{},"_hasShrinkwrap":false,"devDependencies":{"tsup":"8.0.2","pdfjs-dist":"^4.6.82","typescript":"5.4.5","@types/jest":"29.5.12","@types/react":"18.3.3","@types/react-dom":"18.3.0","jest-canvas-mock":"2.5.2","@vitejs/plugin-react":"4.3.0","@testing-library/react":"15.0.7"},"peerDependencies":{"react":"^18.2.0","react-dom":"^18.2.0","pdfjs-dist":"^4.5.136"},"bundleDependencies":[],"_npmOperationalInternal":{"tmp":"tmp/react-pdf-all-pages_1.0.17_1725730057252_0.21235570498466472","host":"s3://npm-registry-packages"}},"1.0.19":{"name":"@pvanweel/react-pdf-all-pages","version":"1.0.19","description":"Simple React component to wrap up PDF.js. The easiest way to render all pages of a PDF in your React app.  Comes with default styling.","repository":{"type":"git","url":"git+https://github.com/pvanweel2997/react-pdf-all-pages.git"},"keywords":["react","pdf","all","pages","simple","styling","built-in styling"],"author":{"name":"Patrick Van Weelden"},"license":"MIT","type":"module","main":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"build":"tsup src/index.tsx --dts --format esm,cjs","lint":"eslint"},"prettier":{"printWidth":80,"semi":true,"singleQuote":true,"trailingComma":"es5"},"devDependencies":{"@testing-library/react":"15.0.7","@types/jest":"29.5.12","@types/react":"18.3.3","@types/react-dom":"18.3.0","@vitejs/plugin-react":"4.3.0","jest-canvas-mock":"2.5.2","pdfjs-dist":"^4.6.82","tsup":"8.0.2","typescript":"5.4.5"},"peerDependencies":{"pdfjs-dist":"^4.5.136","react":"^18.2.0","react-dom":"^18.2.0"},"bundleDependencies":[],"_id":"@pvanweel/react-pdf-all-pages@1.0.19","dist":{"shasum":"079dc0c7d9ed6969a2509c7c7f6a754477ece9d7","integrity":"sha512-QBB6K5Urv8I4aG2MlzTrUDF/7kWlqx6DWw3jqTasRnRwy9wjyE40Zl8PPy4ozSl/n1Ao8fRVUKN5ljYIoCRf8Q==","tarball":"https://registry.npmjs.org/@pvanweel/react-pdf-all-pages/-/react-pdf-all-pages-1.0.19.tgz","fileCount":8,"unpackedSize":17929,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxi8Zs+MB8vHrlQKt+3Ikhoxk9d+rJf/3Ki5yiGRPIAQIhAKXrAV+phJ8i+v3oqZqmHUSEHrzwlpzMivB7P6S48Ofb"}]},"_npmUser":{"name":"pvanweel","email":"pvanweel@yahoo.com"},"directories":{},"maintainers":[{"name":"pvanweel","email":"pvanweel@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-pdf-all-pages_1.0.19_1725827564359_0.7036597911383"},"_hasShrinkwrap":false}},"time":{"created":"2024-09-04T18:38:35.731Z","modified":"2024-09-08T20:32:44.694Z","1.0.0":"2024-09-04T14:28:26.315Z","1.0.2":"2024-09-04T16:04:27.710Z","1.0.3":"2024-09-04T16:30:28.223Z","1.0.4":"2024-09-04T16:37:10.099Z","1.0.6":"2024-09-04T16:52:20.865Z","1.0.7":"2024-09-04T18:38:36.058Z","1.0.8":"2024-09-04T18:50:53.159Z","1.0.9":"2024-09-04T18:54:31.726Z","1.0.10":"2024-09-04T20:59:18.254Z","1.0.11":"2024-09-05T12:02:57.247Z","1.0.12":"2024-09-05T12:41:57.978Z","1.0.13":"2024-09-05T13:32:55.832Z","1.0.14":"2024-09-06T22:56:57.283Z","1.0.15":"2024-09-07T14:17:23.376Z","1.0.16":"2024-09-07T14:53:40.106Z","1.0.17":"2024-09-07T17:27:37.542Z","1.0.19":"2024-09-08T20:32:44.523Z"},"author":{"name":"Patrick Van Weelden"},"license":"MIT","keywords":["react","pdf","all","pages","simple","styling","built-in styling"],"repository":{"type":"git","url":"git+https://github.com/pvanweel2997/react-pdf-all-pages.git"},"description":"Simple React component to wrap up PDF.js. The easiest way to render all pages of a PDF in your React app.  Comes with default styling.","maintainers":[{"name":"pvanweel","email":"pvanweel@yahoo.com"}],"readme":"# react-pdf-all-pages\n\nDisplay all pages of a PDFs in your React app as easily as if they were images. Comes with built in 3d styling.\nScroll up and down through ALL the pages using your mouse or keyboard.\n\nUses [PDF.js](http://mozilla.github.io/pdf.js/).\n\n---\n\n[![NPM Version](https://img.shields.io/npm/v/@pvanweel/react-pdf-all-pages.svg?style=flat-square)](https://www.npmjs.com/package/@pvanweel/react-pdf-all-pages)\n[![NPM Downloads](https://img.shields.io/npm/dm/@pvanweel/react-pdf-all-pages.svg?style=flat-square)](https://www.npmjs.com/package/@pvanweel/react-pdf-all-pages)\n[![codecov](https://codecov.io/gh/pvanweel/react-pdf-all-pages/branch/master/graph/badge.svg)](https://codecov.io/gh/pvanweel/react-pdf-all-pages)\n\n# Demo\n\nDemo can be found [here](https://react-app-all-pages-sample.onrender.com/).\n\n# Usage\n\nInstall with `yarn add @pvanweel/react-pdf-all-pages` or\n`npm install @pvanweel/react-pdf-all-pages `\n\n## `usePdf` hook\n\nUse the hook in your app (comes with built-in 3d page look out of the box):\n\n```js\nimport './App.css';\nimport { usePdf } from '@pvanweel/react-pdf-all-pages';\n\nfunction App() {\n  const { pdfDocument } = usePdf({\n    file: 'sample.pdf',\n    pdfLocation: 'pdfdoc',\n  });\n\n  return (\n    <>\n      <div>{pdfDocument ? <div id=\"pdfdoc\"></div> : <></>}</div>\n    </>\n  );\n}\n\nexport default App;\n```\n\n## Props\n\nWhen you call usePdf you'll want to pass in a subset of these props, like this:\n\n> `const { pdfDocument } = usePdf({ pdfLocation: 'pdfdoc', file: 'https://example.com/test.pdf' });`\n\n### pdfLocation\n\nan id of an html element where you want your pages to display.\n\n### file\n\nURL of the PDF file.\n\n### onDocumentLoadSuccess\n\nAllows you to specify a callback that is called when the PDF document data will be fully loaded.\nCallback is called with [PDFDocumentProxy](https://github.com/mozilla/pdf.js/blob/master/src/display/api.js#L579)\nas an only argument.\n\n### onDocumentLoadFail\n\nAllows you to specify a callback that is called after an error occurred during PDF document data loading.\n\n### onInvalidLocation\n\nAllows you to specify a callback that is called if the pdfLocation html element is not found.\n\n### scale\n\nAllows you to scale the PDF. Default = 1.\n\n### rotate\n\nAllows you to rotate the PDF. Number is in degrees. Default = 0.\n\n### cMapUrl\n\nAllows you to specify a cmap url. Default = '../node_modules/pdfjs-dist/cmaps/'.\n\n### cMapPacked\n\nAllows you to specify whether the cmaps are packed or not. Default = false.\n\n### workerSrc\n\nAllows you to specify a custom pdf worker url. Default = '//cdnjs.cloudflare.com/ajax/libs/pdf.js/\\${pdfjs.version}/pdf.worker.js'.\n\n### withCredentials\n\nAllows you to add the withCredentials flag. Default = false.\n\n### className\n\nAllows you to style your pdf pages by passing in a className.\n\n### useDefaultStyle (defaults to true)\n\nSpecifies whether to use the built-in styling or not to use the built-in styling.\n\n## Returned values\n\n### pdfDocument\n\n`pdfjs`'s `PDFDocumentProxy` [object](https://github.com/mozilla/pdf.js/blob/master/src/display/api.js#L579).\nThis can be undefined if document has not been loaded yet.\n\nThis is the equivelant css of the default built in styling:\n\n```css\n.pdfClass {\n  display: block;\n  margin-left: auto;\n  margin-right: auto;\n  margin-bottom: 1em;\n  border-radius: 10px;\n  border: 2px solid;\n  align-content: center;\n  align-items: center;\n  box-shadow: rgba(22, 31, 39, 0.42) 0px 60px 123px -25px, rgba(\n        19,\n        26,\n        32,\n        0.08\n      ) 0px 35px 75px -35px;\n  border-color: rgb(213, 220, 226) rgb(213, 220, 226) rgb(184, 194, 204);\n\n\n# License\n\nMIT © [pvanweel2997](https://github.com/pvanweel2997)\n```\n","readmeFilename":"README.md"}