{"_id":"@kishannareshpal/expo-pdf","_rev":"11-c420541bd5ecbd58d54d8ecb192743ce","name":"@kishannareshpal/expo-pdf","dist-tags":{"latest":"0.3.2"},"versions":{"0.1.0":{"name":"@kishannareshpal/expo-pdf","version":"0.1.0","keywords":["react-native","expo","@kishannareshpal/expo-pdf","rn-pdf","react-native-pdf","expo-pdf","pdf","expopdf"],"author":{"url":"https://github.com/kishannareshpal","name":"Kishan Jadav","email":"kishan_jadav@hotmail.com"},"license":"MIT","_id":"@kishannareshpal/expo-pdf@0.1.0","maintainers":[{"name":"kishannareshpal","email":"kishan_jadav@hotmail.com"}],"homepage":"https://github.com/kishannareshpal/expo-pdf#readme","bugs":{"url":"https://github.com/kishannareshpal/expo-pdf/issues"},"dist":{"shasum":"6b6798485279cc84626daf24e8e3f125c38c11b8","tarball":"https://registry.npmjs.org/@kishannareshpal/expo-pdf/-/expo-pdf-0.1.0.tgz","fileCount":52,"integrity":"sha512-y4wzbvhRH7so4tMQiqbvibsS0f/gYxrv0l9B660AKWkvO7gx/CPqmmJigTsVUc9YyxEbrs+S6qvyKQB1MPA1qQ==","signatures":[{"sig":"MEUCIQDorJqhknR+NK3iib1XOKTdF2Ei3J9QoTYjKU0qjHVv7QIgRwYRgsIWX2Cd6rku7e04knMHX+hkkotyFKgLw3iKdRg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":350199},"main":"build/index.js","types":"build/index.d.ts","gitHead":"a8f0efe1b7f0e19421ccfcfdc31c1c8480bdad5d","scripts":{"lint":"expo-module lint","test":"expo-module test","build":"expo-module build","clean":"expo-module clean","format":"prettier --write .","prepare":"husky; expo-module prepare","open:ios":"xed example/ios","expo-module":"expo-module","format:check":"prettier --check .","open:android":"open -a \"Android Studio\" example/android","prepublishOnly":"expo-module prepublishOnly"},"_npmUser":{"name":"kishannareshpal","email":"kishan_jadav@hotmail.com"},"repository":{"url":"git+https://github.com/kishannareshpal/expo-pdf.git","type":"git"},"_npmVersion":"11.6.2","description":"A cross-platform, performant PDF viewer component for React Native and Expo","directories":{},"lint-staged":{"*.{java,kt,swift,h,m,mm}":["prettier --write"],"*.{js,jsx,ts,tsx,json,css,md,yml,yaml}":["prettier --write"]},"_nodeVersion":"24.12.0","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"expo":"^54.0.27","husky":"^9.1.7","prettier":"^3.7.4","lint-staged":"^16.2.7","@types/react":"~19.1.0","react-native":"0.81.5","expo-module-scripts":"^5.0.8"},"peerDependencies":{"expo":"*","react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/expo-pdf_0.1.0_1767713789548_0.8164460750743552","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@kishannareshpal/expo-pdf","version":"0.2.0","keywords":["react-native","expo","@kishannareshpal/expo-pdf","rn-pdf","react-native-pdf","expo-pdf","pdf","expopdf"],"author":{"url":"https://github.com/kishannareshpal","name":"Kishan Jadav","email":"kishan_jadav@hotmail.com"},"license":"MIT","_id":"@kishannareshpal/expo-pdf@0.2.0","maintainers":[{"name":"kishannareshpal","email":"kishan_jadav@hotmail.com"}],"homepage":"https://github.com/kishannareshpal/expo-pdf#readme","bugs":{"url":"https://github.com/kishannareshpal/expo-pdf/issues"},"dist":{"shasum":"414f8cc21edcdd3ce243a2e86d3cc6086f08bf3e","tarball":"https://registry.npmjs.org/@kishannareshpal/expo-pdf/-/expo-pdf-0.2.0.tgz","fileCount":52,"integrity":"sha512-RZF62fRCrKIQLf5D0IvxjBLiQQJ+/1sfzlNTfR8ESnTh+XcXdplP1uDh7/1OSQtTptSGAUPaJux9Y+jRgDKtoA==","signatures":[{"sig":"MEUCIQDOuLIf5o805J7XnSpW3odRSqDVtlV8LBffPENfhjX81wIgKcCvJArCzTfD3lZvgqc//YH7LSii9z27DLp2JTcQ76g=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@kishannareshpal%2fexpo-pdf@0.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":353173},"main":"build/index.js","types":"build/index.d.ts","gitHead":"808629ae4c255592ed08f97b30cf94bba1418e4a","scripts":{"lint":"expo-module lint","test":"expo-module test","build":"expo-module build","clean":"expo-module clean","format":"prettier --write .","prepare":"husky; expo-module prepare","open:ios":"xed example/ios","expo-module":"expo-module","format:check":"prettier --check .","open:android":"open -a \"Android Studio\" example/android","prepublishOnly":"expo-module prepublishOnly"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:85b0d57a-1581-4042-809a-d5941c18b275"}},"repository":{"url":"git+https://github.com/kishannareshpal/expo-pdf.git","type":"git"},"_npmVersion":"11.6.2","description":"A cross-platform, performant PDF viewer component for React Native and Expo","directories":{},"lint-staged":{"*.{java,kt,swift,h,m,mm}":["prettier --write"],"*.{js,jsx,ts,tsx,json,css,md,yml,yaml}":["prettier --write"]},"_nodeVersion":"24.12.0","_hasShrinkwrap":false,"devDependencies":{"expo":"^54.0.27","husky":"^9.1.7","prettier":"^3.7.4","lint-staged":"^16.2.7","@types/react":"~19.1.0","react-native":"0.81.5","expo-module-scripts":"^5.0.8"},"peerDependencies":{"expo":"*","react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/expo-pdf_0.2.0_1767991440469_0.6640206924460639","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@kishannareshpal/expo-pdf","version":"0.2.1","keywords":["react-native","expo","@kishannareshpal/expo-pdf","rn-pdf","react-native-pdf","expo-pdf","pdf","expopdf"],"author":{"url":"https://github.com/kishannareshpal","name":"Kishan Jadav","email":"kishan_jadav@hotmail.com"},"license":"MIT","_id":"@kishannareshpal/expo-pdf@0.2.1","maintainers":[{"name":"kishannareshpal","email":"kishan_jadav@hotmail.com"}],"homepage":"https://github.com/kishannareshpal/expo-pdf#readme","bugs":{"url":"https://github.com/kishannareshpal/expo-pdf/issues"},"dist":{"shasum":"314e582647ed29b08358202ab65e0f8565b53aa1","tarball":"https://registry.npmjs.org/@kishannareshpal/expo-pdf/-/expo-pdf-0.2.1.tgz","fileCount":52,"integrity":"sha512-J3TBodyFqPAWCSGTV4sv7DrxB2YVF4qPIoRAEeZxarZmRFlaf+gJ3MF7b4oeUMBgBztqnTFGzHRZGqmfDhaGtA==","signatures":[{"sig":"MEQCIBx4p4jCQ+R9sMfoiUUqsblGPAm250ThnCoAYKVvCKWnAiBtnYKYgxRzFfkirkGiHWMw+6QLwrdo9x2ua5pJ6Z93JQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@kishannareshpal%2fexpo-pdf@0.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":65347},"main":"build/index.js","types":"build/index.d.ts","gitHead":"8e64c726eb7fe7d5a94d3022637944ee7a6f3c86","scripts":{"em":"bunx expo-module","lint":"bun run em lint","test":"bun run em test","build":"bun run em build","clean":"bun run em clean","format":"bunx prettier --write .","prepare":"bunx husky; bun run em prepare","open:ios":"xed example/ios","format:check":"bunx prettier --check .","open:android":"open -a \"Android Studio\" example/android","prepublishOnly":"bun run em prepublishOnly"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:85b0d57a-1581-4042-809a-d5941c18b275"}},"repository":{"url":"git+https://github.com/kishannareshpal/expo-pdf.git","type":"git"},"_npmVersion":"11.6.2","description":"A cross-platform, performant PDF viewer component for React Native and Expo","directories":{},"lint-staged":{"*.{java,kt,swift,h,m,mm}":["prettier --write"],"*.{js,jsx,ts,tsx,json,css,md,yml,yaml}":["prettier --write"]},"_nodeVersion":"24.12.0","_hasShrinkwrap":false,"devDependencies":{"expo":"^54.0.27","husky":"^9.1.7","prettier":"^3.7.4","lint-staged":"^16.2.7","@types/react":"~19.1.0","react-native":"0.81.5","expo-module-scripts":"^5.0.8"},"peerDependencies":{"expo":"*","react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/expo-pdf_0.2.1_1767994323494_0.28272410788794344","host":"s3://npm-registry-packages-npm-production"}},"0.2.2":{"name":"@kishannareshpal/expo-pdf","version":"0.2.2","keywords":["react-native","expo","@kishannareshpal/expo-pdf","rn-pdf","react-native-pdf","expo-pdf","pdf","expopdf"],"author":{"url":"https://github.com/kishannareshpal","name":"Kishan Jadav","email":"kishan_jadav@hotmail.com"},"license":"MIT","_id":"@kishannareshpal/expo-pdf@0.2.2","maintainers":[{"name":"kishannareshpal","email":"kishan_jadav@hotmail.com"}],"homepage":"https://github.com/kishannareshpal/expo-pdf#readme","bugs":{"url":"https://github.com/kishannareshpal/expo-pdf/issues"},"dist":{"shasum":"6da4c01c19c137c24410fd7db454ba0a8abce64d","tarball":"https://registry.npmjs.org/@kishannareshpal/expo-pdf/-/expo-pdf-0.2.2.tgz","fileCount":52,"integrity":"sha512-FBOZA5NXvGtmne8NwVKRYyqHhe+LWFE7jPqaogk5Sl9ztHSHii3wNK1OsFCOQsmgo05RSORyhsUVL9h3DseGMg==","signatures":[{"sig":"MEQCICDkVITXvpZeg4JVzE7rcnz5IzCJ1+2eKmmtiK37UO9RAiBnW3rAcSxgLsdok/QeviJt1JTg4MJpJ1XxGLo4JDulYQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@kishannareshpal%2fexpo-pdf@0.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":66306},"main":"build/index.js","types":"build/index.d.ts","gitHead":"fb06c1b6d6d56e2f65419961d78e47267024809a","scripts":{"em":"bunx expo-module","lint":"bun run em lint","test":"bun run em test","build":"bun run em build","clean":"bun run em clean","format":"bunx prettier --write .","prepare":"bunx husky; bun run em prepare","open:ios":"xed example/ios","format:check":"bunx prettier --check .","open:android":"open -a \"Android Studio\" example/android","prepublishOnly":"bun run em prepublishOnly"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:85b0d57a-1581-4042-809a-d5941c18b275"}},"repository":{"url":"git+https://github.com/kishannareshpal/expo-pdf.git","type":"git"},"_npmVersion":"11.6.2","description":"A cross-platform, performant PDF viewer component for React Native and Expo","directories":{},"lint-staged":{"*.{java,kt,swift,h,m,mm}":["prettier --write"],"*.{js,jsx,ts,tsx,json,css,md,yml,yaml}":["prettier --write"]},"_nodeVersion":"24.12.0","_hasShrinkwrap":false,"devDependencies":{"expo":"^54.0.27","husky":"^9.1.7","prettier":"^3.7.4","lint-staged":"^16.2.7","@types/react":"~19.1.0","react-native":"0.81.5","expo-module-scripts":"^5.0.8"},"peerDependencies":{"expo":"*","react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/expo-pdf_0.2.2_1768132974673_0.2949202117268166","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@kishannareshpal/expo-pdf","version":"0.2.3","keywords":["react-native","expo","@kishannareshpal/expo-pdf","rn-pdf","react-native-pdf","expo-pdf","pdf","expopdf"],"author":{"url":"https://github.com/kishannareshpal","name":"Kishan Jadav","email":"kishan_jadav@hotmail.com"},"license":"MIT","_id":"@kishannareshpal/expo-pdf@0.2.3","maintainers":[{"name":"kishannareshpal","email":"kishan_jadav@hotmail.com"}],"homepage":"https://github.com/kishannareshpal/expo-pdf#readme","bugs":{"url":"https://github.com/kishannareshpal/expo-pdf/issues"},"dist":{"shasum":"25bfd5406d0fc248956d6f3e49e88b18ea58c08c","tarball":"https://registry.npmjs.org/@kishannareshpal/expo-pdf/-/expo-pdf-0.2.3.tgz","fileCount":52,"integrity":"sha512-0TSgdTxZciVNhr4nnRvAAoQnHyh7Day0nfeuTP6+YkcuYTsXDcKAlfO5oqGY4XamamAklbw9tTQdJV6NhMXieQ==","signatures":[{"sig":"MEUCIQCrCyA+TOgFYp8OBeSpEHrka2LL0zJ/cpgFKVOGTCvd+AIgePuNGhdl9flB6R//sEAlEfMcCK02yyZsUpEg+AncRos=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@kishannareshpal%2fexpo-pdf@0.2.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":71063},"main":"build/index.js","types":"build/index.d.ts","gitHead":"fd41255f7b70310d75b98d8cfbca4af5d793d401","scripts":{"em":"bunx expo-module","lint":"bun run em lint","test":"bun run em test","build":"bun run em build","clean":"bun run em clean","format":"bunx prettier --write .","prepare":"bunx husky; bun run em prepare","open:ios":"xed example/ios","format:check":"bunx prettier --check .","open:android":"open -a \"Android Studio\" example/android","prepublishOnly":"bun run em prepublishOnly"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:85b0d57a-1581-4042-809a-d5941c18b275"}},"repository":{"url":"git+https://github.com/kishannareshpal/expo-pdf.git","type":"git"},"_npmVersion":"11.6.2","description":"A cross-platform, performant PDF viewer component for React Native and Expo","directories":{},"lint-staged":{"*.{java,kt,swift,h,m,mm}":["prettier --write"],"*.{js,jsx,ts,tsx,json,css,md,yml,yaml}":["prettier --write"]},"_nodeVersion":"24.12.0","_hasShrinkwrap":false,"devDependencies":{"expo":"^54.0.27","husky":"^9.1.7","prettier":"^3.7.4","lint-staged":"^16.2.7","@types/react":"~19.1.0","react-native":"0.81.5","expo-module-scripts":"^5.0.8"},"peerDependencies":{"expo":"*","react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/expo-pdf_0.2.3_1768141130674_0.12105193943123149","host":"s3://npm-registry-packages-npm-production"}},"0.2.4":{"name":"@kishannareshpal/expo-pdf","version":"0.2.4","keywords":["react-native","expo","@kishannareshpal/expo-pdf","rn-pdf","react-native-pdf","expo-pdf","pdf","expopdf"],"author":{"url":"https://github.com/kishannareshpal","name":"Kishan Jadav","email":"kishan_jadav@hotmail.com"},"license":"MIT","_id":"@kishannareshpal/expo-pdf@0.2.4","maintainers":[{"name":"kishannareshpal","email":"kishan_jadav@hotmail.com"}],"homepage":"https://github.com/kishannareshpal/expo-pdf#readme","bugs":{"url":"https://github.com/kishannareshpal/expo-pdf/issues"},"dist":{"shasum":"60168d2a7618324a6f296827643fb4157e7fd369","tarball":"https://registry.npmjs.org/@kishannareshpal/expo-pdf/-/expo-pdf-0.2.4.tgz","fileCount":54,"integrity":"sha512-YeVMscyp6oXHWLoPuE3juVgjr+MNGDgYFjDTiKJXr8agtli0LT58VQKmR+eXUSGlsewZEp+MjhwV4CWsKqlImA==","signatures":[{"sig":"MEYCIQCCr5E//Yhyxri8ELd+i/3Kk0Q3wySYhOWvKV+ZASZPYgIhAMbxnCeWPtBLw94mwHk5Hkho173KnZOC1f9Xkfa0RuBk","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@kishannareshpal%2fexpo-pdf@0.2.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":78084},"main":"build/index.js","types":"build/index.d.ts","gitHead":"100a27e751fc7f09a43e339ef5720b49661a0d2c","scripts":{"em":"bunx expo-module","lint":"bun run em lint","test":"bun run em test","build":"bun run em build","clean":"bun run em clean","format":"bunx prettier --write .","prepare":"bunx husky; bun run em prepare","open:ios":"xed example/ios","format:check":"bunx prettier --check .","open:android":"open -a \"Android Studio\" example/android","prepublishOnly":"bun run em prepublishOnly"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:46ae07f1-a023-4ff4-b60a-6356a6f0521e"}},"repository":{"url":"git+https://github.com/kishannareshpal/expo-pdf.git","type":"git"},"_npmVersion":"11.6.2","description":"A cross-platform, performant PDF viewer component for React Native and Expo","directories":{},"lint-staged":{"*.{java,kt,swift,h,m,mm}":["prettier --write"],"*.{js,jsx,ts,tsx,json,css,md,yml,yaml}":["prettier --write"]},"_nodeVersion":"24.12.0","_hasShrinkwrap":false,"devDependencies":{"expo":"^54.0.27","husky":"^9.1.7","prettier":"^3.7.4","lint-staged":"^16.2.7","@types/react":"~19.1.0","react-native":"0.81.5","expo-module-scripts":"^5.0.8"},"peerDependencies":{"expo":"*","react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/expo-pdf_0.2.4_1768756950733_0.4976735513642412","host":"s3://npm-registry-packages-npm-production"}},"0.2.5":{"name":"@kishannareshpal/expo-pdf","version":"0.2.5","keywords":["react-native","expo","@kishannareshpal/expo-pdf","rn-pdf","react-native-pdf","expo-pdf","pdf","expopdf"],"author":{"url":"https://github.com/kishannareshpal","name":"Kishan Jadav","email":"kishan_jadav@hotmail.com"},"license":"MIT","_id":"@kishannareshpal/expo-pdf@0.2.5","maintainers":[{"name":"kishannareshpal","email":"kishan_jadav@hotmail.com"}],"homepage":"https://github.com/kishannareshpal/expo-pdf#readme","bugs":{"url":"https://github.com/kishannareshpal/expo-pdf/issues"},"dist":{"shasum":"ff2a7e5daea39030b23629e427c33db8266eab91","tarball":"https://registry.npmjs.org/@kishannareshpal/expo-pdf/-/expo-pdf-0.2.5.tgz","fileCount":54,"integrity":"sha512-kZxhCUtZYyepZul/QsjsM/2WS6IiZ4FuJwlIE3aBP1YeZkKZR6dLvYtCHc0I9QsA3C+w+zlZ5b8M5FSq8M0+BA==","signatures":[{"sig":"MEUCIQDSwIgnoH0mZIz4sn+nC+sX3FabZwc2iGCIJfofyc7PYAIgKc+xY4QH0cqzvnWhqOfq+Ys7uNirtphFXpA5Frrnv2Q=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@kishannareshpal%2fexpo-pdf@0.2.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":75155},"main":"build/index.js","types":"build/index.d.ts","gitHead":"55024ebe2c963ac5b444f990c761a01869ad468c","scripts":{"em":"bunx expo-module","lint":"bun run em lint","test":"bun run em test","build":"bun run em build","clean":"bun run em clean","format":"bunx prettier --write .","prepare":"bunx husky; bun run em prepare","open:ios":"xed example/ios","format:check":"bunx prettier --check .","open:android":"open -a \"Android Studio\" example/android","prepublishOnly":"bun run em prepublishOnly"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:46ae07f1-a023-4ff4-b60a-6356a6f0521e"}},"repository":{"url":"git+https://github.com/kishannareshpal/expo-pdf.git","type":"git"},"_npmVersion":"11.6.2","description":"A cross-platform, performant PDF viewer component for React Native and Expo","directories":{},"lint-staged":{"*.{java,kt,swift,h,m,mm}":["prettier --write"],"*.{js,jsx,ts,tsx,json,css,md,yml,yaml}":["prettier --write"]},"_nodeVersion":"24.12.0","_hasShrinkwrap":false,"devDependencies":{"expo":"^54.0.27","husky":"^9.1.7","prettier":"^3.7.4","lint-staged":"^16.2.7","@types/react":"~19.1.0","react-native":"0.81.5","expo-module-scripts":"^5.0.8"},"peerDependencies":{"expo":"*","react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/expo-pdf_0.2.5_1768757257713_0.6275132732131006","host":"s3://npm-registry-packages-npm-production"}},"0.2.6":{"name":"@kishannareshpal/expo-pdf","version":"0.2.6","keywords":["react-native","expo","@kishannareshpal/expo-pdf","rn-pdf","react-native-pdf","expo-pdf","pdf","expopdf"],"author":{"url":"https://github.com/kishannareshpal","name":"Kishan Jadav","email":"kishan_jadav@hotmail.com"},"license":"MIT","_id":"@kishannareshpal/expo-pdf@0.2.6","maintainers":[{"name":"kishannareshpal","email":"kishan_jadav@hotmail.com"}],"homepage":"https://github.com/kishannareshpal/expo-pdf#readme","bugs":{"url":"https://github.com/kishannareshpal/expo-pdf/issues"},"dist":{"shasum":"ee3948f5c14071e59c735c1355efc39bcebfc69a","tarball":"https://registry.npmjs.org/@kishannareshpal/expo-pdf/-/expo-pdf-0.2.6.tgz","fileCount":54,"integrity":"sha512-fzCwu4YIVL8vtdL85DZQsxJT0KKf4C4PKe/4HTfwqp7b5KHvZ+0XzsW1yPz9RCvpn3qvuL2m+MOfVLZXbr664Q==","signatures":[{"sig":"MEYCIQCwjAbUmvZ9ii9FpDxnbSwbKHLeHjxwiIH/atflY9CuWAIhAJWYwh/JNGJT0DNq3xlc5X/NEIFQ3BrQmsajsTbvQUuV","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@kishannareshpal%2fexpo-pdf@0.2.6","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":75654},"main":"build/index.js","types":"build/index.d.ts","gitHead":"a192340edc50778a065a1f464b150796638dda02","scripts":{"em":"bunx expo-module","lint":"bun run em lint","test":"bun run em test","build":"bun run em build","clean":"bun run em clean","format":"bunx prettier --write .","prepare":"bunx husky; bun run em prepare","open:ios":"xed example/ios","format:check":"bunx prettier --check .","open:android":"open -a \"Android Studio\" example/android","prepublishOnly":"bun run em prepublishOnly"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:46ae07f1-a023-4ff4-b60a-6356a6f0521e"}},"repository":{"url":"git+https://github.com/kishannareshpal/expo-pdf.git","type":"git"},"_npmVersion":"11.6.2","description":"A cross-platform, performant PDF viewer component for React Native and Expo","directories":{},"lint-staged":{"*.{java,kt,swift,h,m,mm}":["prettier --write"],"*.{js,jsx,ts,tsx,json,css,md,yml,yaml}":["prettier --write"]},"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"devDependencies":{"expo":"^54.0.27","husky":"^9.1.7","prettier":"^3.7.4","lint-staged":"^16.2.7","@types/react":"~19.1.0","react-native":"0.81.5","expo-module-scripts":"^5.0.8"},"peerDependencies":{"expo":"*","react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/expo-pdf_0.2.6_1769151219799_0.846842601980941","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@kishannareshpal/expo-pdf","version":"0.3.0","keywords":["react-native","expo","@kishannareshpal/expo-pdf","rn-pdf","react-native-pdf","expo-pdf","pdf","expopdf"],"author":{"url":"https://github.com/kishannareshpal","name":"Kishan Jadav","email":"kishan_jadav@hotmail.com"},"license":"MIT","_id":"@kishannareshpal/expo-pdf@0.3.0","maintainers":[{"name":"kishannareshpal","email":"kishan_jadav@hotmail.com"}],"homepage":"https://github.com/kishannareshpal/expo-pdf#readme","bugs":{"url":"https://github.com/kishannareshpal/expo-pdf/issues"},"dist":{"shasum":"1d55f543977cfc24bd3f99c6e45328be35850e86","tarball":"https://registry.npmjs.org/@kishannareshpal/expo-pdf/-/expo-pdf-0.3.0.tgz","fileCount":54,"integrity":"sha512-c7Df2oTviZNmS6BH2kjaQM53DGz4Ib7XYhvlmSqWgSO0L7mhxg/5LN0qA8rNauI1J27T8CZRfgQ2XXhbjSQoyw==","signatures":[{"sig":"MEUCIQDZCwuD4RQxbqrvbSu+g6kj5K/v8fpUo169/9zEK4OFdwIgdUIIlN7ywQwYx7IBDtdhR0NL1frY4FAvet1l5wVJjoQ=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@kishannareshpal%2fexpo-pdf@0.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":78676},"main":"build/index.js","types":"build/index.d.ts","gitHead":"fe24357fe74b07b8b7b5f5cbfc2fd4a6dd9ead1b","scripts":{"em":"bunx expo-module","lint":"bun run em lint","test":"bun run em test","build":"bun run em build","clean":"bun run em clean","format":"bunx prettier --write .","prepare":"bunx husky; bun run em prepare","open:ios":"xed example/ios","format:check":"bunx prettier --check .","open:android":"open -a \"Android Studio\" example/android","prepublishOnly":"bun run em prepublishOnly"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:46ae07f1-a023-4ff4-b60a-6356a6f0521e"}},"repository":{"url":"git+https://github.com/kishannareshpal/expo-pdf.git","type":"git"},"_npmVersion":"11.6.2","description":"A cross-platform, performant PDF viewer component for React Native and Expo","directories":{},"lint-staged":{"*.{java,kt,swift,h,m,mm}":["prettier --write"],"*.{js,jsx,ts,tsx,json,css,md,yml,yaml}":["prettier --write"]},"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"devDependencies":{"expo":"^54.0.27","husky":"^9.1.7","prettier":"^3.7.4","lint-staged":"^16.2.7","@types/react":"~19.1.0","react-native":"0.81.5","expo-module-scripts":"^5.0.8"},"peerDependencies":{"expo":"*","react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/expo-pdf_0.3.0_1770157214231_0.46836507102069524","host":"s3://npm-registry-packages-npm-production"}},"0.3.1":{"name":"@kishannareshpal/expo-pdf","version":"0.3.1","keywords":["react-native","expo","@kishannareshpal/expo-pdf","rn-pdf","react-native-pdf","expo-pdf","pdf","expopdf"],"author":{"url":"https://github.com/kishannareshpal","name":"Kishan Jadav","email":"kishan_jadav@hotmail.com"},"license":"MIT","_id":"@kishannareshpal/expo-pdf@0.3.1","maintainers":[{"name":"kishannareshpal","email":"kishan_jadav@hotmail.com"}],"homepage":"https://github.com/kishannareshpal/expo-pdf#readme","bugs":{"url":"https://github.com/kishannareshpal/expo-pdf/issues"},"dist":{"shasum":"e460c35f032e9fed322ca0bea50eecb48a7a88c5","tarball":"https://registry.npmjs.org/@kishannareshpal/expo-pdf/-/expo-pdf-0.3.1.tgz","fileCount":54,"integrity":"sha512-T+oceSldltgvd3Eu+Zg+bIBMdeNRmtXUr+XZj1iJklpKjEJd6U7gzj81C/623gQg749SLK5ElnFQH6j1nCTQYw==","signatures":[{"sig":"MEUCIQDezU1Bh1USJS3gTZtRg2MVauLuJBfPwQXwtpPKx69hZgIgeYbhFG4twpU4bI8VMbJOd6FchOot1G/f9OvJpXIE3hg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@kishannareshpal%2fexpo-pdf@0.3.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":78435},"main":"build/index.js","types":"build/index.d.ts","gitHead":"1541882d20ef90561f2149923788a6e11aba12d6","scripts":{"em":"bunx expo-module","lint":"bun run em lint","test":"bun run em test","build":"bun run em build","clean":"bun run em clean","format":"bunx prettier --write .","prepare":"bunx husky; bun run em prepare","open:ios":"xed example/ios","format:check":"bunx prettier --check .","open:android":"open -a \"Android Studio\" example/android","prepublishOnly":"bun run em prepublishOnly"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:46ae07f1-a023-4ff4-b60a-6356a6f0521e"}},"repository":{"url":"git+https://github.com/kishannareshpal/expo-pdf.git","type":"git"},"_npmVersion":"11.6.2","description":"A cross-platform, performant PDF viewer component for React Native and Expo","directories":{},"lint-staged":{"*.{java,kt,swift,h,m,mm}":["prettier --write"],"*.{js,jsx,ts,tsx,json,css,md,yml,yaml}":["prettier --write"]},"_nodeVersion":"24.13.0","_hasShrinkwrap":false,"devDependencies":{"expo":"^54.0.27","husky":"^9.1.7","prettier":"^3.7.4","lint-staged":"^16.2.7","@types/react":"~19.1.0","react-native":"0.81.5","expo-module-scripts":"^5.0.8"},"peerDependencies":{"expo":"*","react":"*","react-native":"*"},"_npmOperationalInternal":{"tmp":"tmp/expo-pdf_0.3.1_1770163194670_0.18120651723617787","host":"s3://npm-registry-packages-npm-production"}},"0.3.2":{"name":"@kishannareshpal/expo-pdf","version":"0.3.2","author":{"name":"Kishan Jadav","email":"kishan_jadav@hotmail.com","url":"https://github.com/kishannareshpal"},"repository":{"type":"git","url":"git+https://github.com/kishannareshpal/expo-pdf.git"},"main":"build/index.js","devDependencies":{"@types/react":"~19.1.0","expo":"^54.0.27","expo-module-scripts":"^5.0.8","husky":"^9.1.7","lint-staged":"^16.2.7","prettier":"^3.7.4","react-native":"0.81.5"},"peerDependencies":{"expo":"*","react":"*","react-native":"*"},"bugs":{"url":"https://github.com/kishannareshpal/expo-pdf/issues"},"description":"A cross-platform, performant PDF viewer component for React Native and Expo","homepage":"https://github.com/kishannareshpal/expo-pdf#readme","keywords":["react-native","expo","@kishannareshpal/expo-pdf","rn-pdf","react-native-pdf","expo-pdf","pdf","expopdf"],"license":"MIT","lint-staged":{"*.{js,jsx,ts,tsx,json,css,md,yml,yaml}":["prettier --write"],"*.{java,kt,swift,h,m,mm}":["prettier --write"]},"scripts":{"build":"bun run em build","clean":"bun run em clean","lint":"bun run em lint","test":"bun run em test","prepublishOnly":"bun run em prepublishOnly","em":"bunx expo-module","open:ios":"xed example/ios","open:android":"open -a \"Android Studio\" example/android","format":"bunx prettier --write .","format:check":"bunx prettier --check .","prepare":"bunx husky; bun run em prepare"},"types":"build/index.d.ts","gitHead":"a1faeb867eeb8dfa5ea428bb2d42f5df23af80d5","_id":"@kishannareshpal/expo-pdf@0.3.2","_nodeVersion":"24.14.0","_npmVersion":"11.9.0","dist":{"integrity":"sha512-/Vwov6PNGN1rzEeo9d1VfND6bQNpUf9qA+ozx5I8o2Grm3whfCjC3kzg/yBzP1pzKYRzbggknr/wwqPtbok/Kg==","shasum":"f2a42bea0f2c9e1eb9adeb7d47b474f221b535a6","tarball":"https://registry.npmjs.org/@kishannareshpal/expo-pdf/-/expo-pdf-0.3.2.tgz","fileCount":54,"unpackedSize":78723,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@kishannareshpal%2fexpo-pdf@0.3.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQDPzLVtjupP5Dk9r3A8eLTA4Ty74314S/ExHwFFgmttwgIgCJ+YM0oQwXrXpmbWn+DJCdodatLyvn/7TVNgr7HG85c="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:46ae07f1-a023-4ff4-b60a-6356a6f0521e"}},"directories":{},"maintainers":[{"name":"kishannareshpal","email":"kishan_jadav@hotmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/expo-pdf_0.3.2_1774378747319_0.03745762705369948"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-06T15:36:29.370Z","modified":"2026-03-24T18:59:07.748Z","0.1.0":"2026-01-06T15:36:29.759Z","0.2.0":"2026-01-09T20:44:00.613Z","0.2.1":"2026-01-09T21:32:03.622Z","0.2.2":"2026-01-11T12:02:54.833Z","0.2.3":"2026-01-11T14:18:50.858Z","0.2.4":"2026-01-18T17:22:30.866Z","0.2.5":"2026-01-18T17:27:37.870Z","0.2.6":"2026-01-23T06:53:39.943Z","0.3.0":"2026-02-03T22:20:14.394Z","0.3.1":"2026-02-03T23:59:54.819Z","0.3.2":"2026-03-24T18:59:07.477Z"},"bugs":{"url":"https://github.com/kishannareshpal/expo-pdf/issues"},"author":{"name":"Kishan Jadav","email":"kishan_jadav@hotmail.com","url":"https://github.com/kishannareshpal"},"license":"MIT","homepage":"https://github.com/kishannareshpal/expo-pdf#readme","keywords":["react-native","expo","@kishannareshpal/expo-pdf","rn-pdf","react-native-pdf","expo-pdf","pdf","expopdf"],"repository":{"type":"git","url":"git+https://github.com/kishannareshpal/expo-pdf.git"},"description":"A cross-platform, performant PDF viewer component for React Native and Expo","maintainers":[{"name":"kishannareshpal","email":"kishan_jadav@hotmail.com"}],"readme":"![expo-pdf Banner](./docs/banner.png)\n\n# `@kishannareshpal/expo-pdf`\n\n[![NPM Version](https://img.shields.io/npm/v/%40kishannareshpal%2Fexpo-pdf?style=flat&logo=npm&label=%40kishannareshpal%2Fexpo-pdf)](https://www.npmjs.com/package/@kishannareshpal/expo-pdf)\n[![GitHub Repo stars](https://img.shields.io/github/stars/kishannareshpal/expo-pdf?style=flat)](https://github.com/kishannareshpal/expo-pdf/stargazers)\n\nA cross-platform, high-performance PDF viewer for React Native and Expo, built on top of native* PDF rendering engines.\n\n| [iOS](./docs/preview-ios.mp4)          | [Android](./docs/preview-android.mp4)          |\n| -------------------------------------- | ---------------------------------------------- |\n| ![iOS preview](./docs/preview-ios.gif) | ![Android preview](./docs/preview-android.gif) |\n\n## Features\n\n- Supports Android and iOS\n  - Uses Apple's [`PDFKit`](https://developer.apple.com/documentation/pdfkit/pdfview) on iOS\n  - *Uses [kishannareshpal/AndroidPdfViewer](https://github.com/kishannareshpal/AndroidPdfViewer) on Android which is a maintained\n    fork of [barteksc/AndroidPdfViewerV2](https://github.com/kishannareshpal/AndroidPdfViewer) which uses the open-source [PDFium](https://pdfium.googlesource.com/pdfium/+/HEAD/docs/getting-started.md) PDF rendering engine.\n    - Note: We'll be looking to switch to [`androidx.pdf`](https://developer.android.com/jetpack/androidx/releases/pdf) on Android once that becomes stable.\n- Load PDFs from local file paths\n  - Supports local file URIs on android and iOS and ContentResolver URIs on android\n- Pinch-to-zoom / double-tap-to-zoom and drag gestures\n- Support for password-protected PDFs\n- Horizontal and vertical reading modes\n- Support for content-insets\n- Color inversion\n\n## Installation\n\nThis package works with both Expo and framework-less React Native projects but Expo provides a more streamlined experience.\n\n### Expo\n\n```bash\nnpx expo install @kishannareshpal/expo-pdf\n```\n\n### Bare React Native\n\n1. Install this package\n\n   ```bash\n   npm add @kishannareshpal/expo-pdf\n\n   # bun add @kishannareshpal/expo-pdf\n   # pnpm add @kishannareshpal/expo-pdf\n   # yarn add @kishannareshpal/expo-pdf\n   ```\n\n2. Install CocoaPods dependencies\n   ```bash\n   npx pod-install\n   ```\n\n## Usage\n\n### Use a locally bundled PDF\n\n```jsx\nimport { PdfView } from '@kishannareshpal/expo-pdf';\n\nexport const App = () => {\n  const [assets] = useAssets([require('./assets/sample.pdf')]);\n  const [uri, setUri] = (useState < string) | (null > null);\n\n  useEffect(() => {\n    if (!assets?.length) {\n      return;\n    }\n\n    assets[0]\n      .downloadAsync()\n      .then((asset) => setUri(asset.localUri))\n      .catch(console.error);\n  }, [assets]);\n\n  if (!uri) {\n    return null;\n  }\n\n  return <PdfView style={{ flex: 1 }} uri={uri} />;\n};\n```\n\n### Load a file picked using a system picker\n\n```jsx\nimport { File } from 'expo-file-system';\nimport * as DocumentPicker from 'expo-document-picker';\nimport { PdfView } from '@kishannareshpal/expo-pdf'\n\nexport const App = () => {\n  const [uri, setUri] = useState<string | null>(null)\n\n  const pickFile = () => {\n    try {\n      const result = await DocumentPicker.getDocumentAsync({ copyToCacheDirectory: true });\n      const file = new File(result.assets[0]);\n      setUri(file.localUri)\n    } catch (error) {\n      console.error(error);\n    }\n  }\n\n  if (!uri) {\n    return null;\n  }\n\n  return (\n    <View>\n      <Button onPress={pickFile}>Pick a file</Button>\n\n      <View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>\n        {uri ? (\n          <PdfView\n            style={{ flex: 1 }}\n            uri={uri}\n          />\n        ) : (\n          <Text>Please pick a file<Text>\n        )}\n      </View>\n    </View>\n  )\n}\n```\n\n### Use remote URLs\n\n```jsx\nimport { File } from 'expo-file-system';\nimport * as DocumentPicker from 'expo-document-picker';\nimport { PdfView } from '@kishannareshpal/expo-pdf'\n\nexport const App = () => {\n  const [uri, setUri] = useState<string | null>(null)\n\n  const loadFromUrl = (url: string) => {\n    const destination = new Directory(Paths.cache, 'pdfs');\n\n    try {\n      destination.create();\n      const output = await File.downloadFileAsync(url, destination);\n      setUri(output.uri)\n    } catch (error) {\n      console.error(error);\n    }\n  }\n\n  if (!uri) {\n    return null;\n  }\n\n  return (\n    <View>\n      <Button onPress={() => loadFromUrl(\"https://pdfobject.com/pdf/sample.pdf\")}>\n        Download and load from URL\n      </Button>\n\n      <View style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}>\n        {uri ? (\n          <PdfView\n            style={{ flex: 1 }}\n            uri={uri}\n          />\n        ) : (\n          <Text>Please download the file to preview<Text>\n        )}\n      </View>\n    </View>\n  )\n}\n```\n\n## API\n\n<table>\n  <thead>\n    <tr>\n      <th>Props</th>\n      <th>Required</th>\n      <th>Type</th>\n      <th>Description</th>\n      <th>Default</th>\n    </tr>\n  </thead>\n  <tbody>\n    <tr>\n      <td><code>uri</code></td>\n      <td>Required</td>\n      <td><code>string</code></td>\n      <td>PDF document local file URI.</td>\n      <td>-</td>\n    </tr>\n    <tr>\n      <td><code>password</code></td>\n      <td>No</td>\n      <td><code>string</code></td>\n      <td>Password to apply for password-protected PDFs by on load.</td>\n      <td><code>undefined</code></td>\n    </tr>\n    <tr>\n      <td><code>pagingEnabled</code></td>\n      <td>No</td>\n      <td><code>boolean</code></td>\n      <td>Enables page-by-page snapping instead of free scrolling in vertical direction by default, unless the <code>horizontal</code> prop is provided to page horizontally instead.</td>\n      <td><code>false</code></td>\n    </tr>\n    <tr>\n      <td><code>doubleTapToZoom</code></td>\n      <td>No</td>\n      <td><code>boolean</code></td>\n      <td>Allows the user to zoom in/out by double-tapping the document.</td>\n      <td><code>true</code></td>\n    </tr>\n    <tr>\n      <td><code>horizontal</code></td>\n      <td>No</td>\n      <td><code>boolean</code></td>\n      <td>Renders and scrolls pages horizontally instead of vertically. If paging is enabled, then it changes horizontally.</td>\n      <td><code>false</code></td>\n    </tr>\n    <tr>\n      <td><code>pageGap</code></td>\n      <td>No</td>\n      <td><code>number</code></td>\n      <td>Space between adjacent pages.</td>\n      <td><code>0</code></td>\n    </tr>\n    <tr>\n      <td><code>contentPadding</code></td>\n      <td>No</td>\n      <td><a href=\"#contentpadding\"><code>ContentPadding</code></a></td>\n      <td>Padding applied around the document inside the viewer container.</td>\n      <td><code>{ top: 0, left: 0, right: 0, bottom: 0 }</code></td>\n    </tr>\n    <tr>\n      <td><code>fitMode</code></td>\n      <td>No</td>\n      <td><a href=\"#fitmode\"><code>FitMode</code></a></td>\n      <td>How the document is scaled to fit within the viewer.</td>\n      <td><code>\"width\"</code></td>\n    </tr>\n    <tr>\n      <td><code>pageColorInverted</code></td>\n      <td>No</td>\n      <td><code>boolean</code></td>\n      <td>Whether the rendered page should have its color inverted (useful to simulate dark mode)</td>\n      <td><code>false</code></td>\n    </tr>\n    <tr>\n      <td><code>autoScale</code></td>\n      <td>No</td>\n      <td><code>boolean</code></td>\n      <td>Automatically rescales the document when its or its parent’s layout changes after initial render.</td>\n      <td><code>true</code></td>\n    </tr>\n    <tr>\n      <td><code>onLoadComplete</code></td>\n      <td>No</td>\n      <td><a href=\"#onloadcompleteeventpayload\"><code>(OnLoadCompleteEventPayload) =&gt; void</code></a></td>\n      <td>Triggered once the document and its metadata have finished loading.</td>\n      <td>-</td>\n    </tr>\n    <tr>\n      <td><code>onPageChanged</code></td>\n      <td>No</td>\n      <td><a href=\"#onpagechangedeventpayload\"><code>(OnPageChangedEventPayload) =&gt; void</code></a></td>\n      <td>Triggered when the currently visible page index changes.</td>\n      <td>-</td>\n    </tr>\n    <tr>\n      <td><code>onError</code></td>\n      <td>No</td>\n      <td><a href=\"#onerroreventpayload\"><code>(OnErrorEventPayload) =&gt; void</code></a></td>\n      <td>Triggered when the PDF fails to load, decrypt, or render.</td>\n      <td>-</td>\n    </tr>\n  </tbody>\n</table>\n\n### API Reference\n\n#### `ContentPadding`\n\n```ts\n{ top?: number, left?: number, right?: number, bottom?: number }\n```\n\n#### `FitMode`\n\n```ts\n'width' | 'height' | 'both';\n```\n\n#### `OnLoadCompleteEventPayload`\n\n```ts\n{\n  pageCount: number;\n}\n```\n\n#### `OnPageChangedEventPayload`\n\n```ts\n{ pageIndex: number, pageCount: number }\n```\n\n#### `OnErrorEventPayload`\n\n```ts\n{\n    code: 'invalid_url' | 'invalid_document' | 'password_required' | 'password_incorrect',\n    message: string\n}\n```\n\n## Support for CSS using `uniwind` (TailwindCSS)\n\nTo use `uniwind` class names, you must wrap the component with the [`withUniwind`](https://docs.uniwind.dev/api/with-uniwind#withuniwind) Higher-Order Component (HOC).\nThis allows the component to process the `className` prop and convert it into native styles.\n\n```tsx\n// src/lib/styled.tsx\nimport { PdfView as PdfViewPrimitive } from '@kishannareshpal/expo-pdf';\nimport { ComponentProps } from 'react';\nimport { withUniwind } from 'uniwind';\n\nexport const StyledPdfViewPrimitive = withUniwind(PdfViewPrimitive);\nexport type StyledPdfViewPrimitiveProps = ComponentProps<\n  typeof StyledPdfViewPrimitive\n>;\n```\n\n```tsx\n// src/app.tsx\nimport { StyledPdfView } from '@/lib/styled';\n\nconst App = () => {\n  return (\n    <StyledPdfView\n      className=\"flex-1 rounded-4xl bg-red-500\"\n      uri=\"...\"\n      ...\n    />\n  )\n}\n```\n\n## References\n\n### Prior art\n\nThis project is inspired by [`react-native-pdf`](https://github.com/wonday/react-native-pdf) and maintained to the more modern React Native and Expo ecosystem.\n\n## Contributing\n\nContributions are welcome!\n\n### How to contribute\n\nPlease read [CONTRIBUTING.md](./CONTRIBUTING.md)\n\n### How to publish a new version to the registry\n\n> **NOTE**\n>\n> This package follows semantic versioning with the format: `major.minor.patch(-beta.n|next)`.\n>\n> - Major version: Increment when making incompatible API changes.\n> - Minor version: Increment when adding new functionality in a backward-compatible way.\n> - Patch version: Increment when fixing bugs in a backward-compatible manner.\n>\n> **Only approved repository members with access to our NPM account can publish new versions.**\n\n1. Ensure all changes ready for release are merged into `main`.\n2. Go to the [`✳️ Release Package`](https://github.com/kishannareshpal/expo-pdf/actions/workflows/release.yml) workflow\n3. Click the `Run workflow` dropdown button and configure the inputs:\n   - `Dry run`: Uncheck this to perform the actual release (Default is `true` to test the build/versioning without publishing - only useful when updating the `release.yml` workflow during maintenance)\n   - `NPM tag`: Leave as `latest` for standard releases, or use `beta` / `next` for pre-releases.\n   - `Version override`: Leave as `auto` to let it automatically increment the patch version (or beta version if `beta` was specified above).\n     if you to bump the minor or major version, you must specify that here (e.g. `1.2.0` or `2.0.0`)\n4. Click the `Run workflow` button to publish 🚀\n   - Monitor the status at [**kishannareshpal/expo-pdf/actions**](https://github.com/kishannareshpal/expo-pdf/actions)\n\n## License\n\nMIT\n","readmeFilename":"README.md"}