{"_id":"@dailyy-app/react-native-image-zoom","_rev":"3-406f5a799389df37cf14e72cb678e55d","name":"@dailyy-app/react-native-image-zoom","dist-tags":{"latest":"2.1.2"},"versions":{"1.2.1":{"name":"@dailyy-app/react-native-image-zoom","version":"1.2.1","description":"A performant zoomable image written in Reanimated v2 🚀","main":"src/index.ts","module":"src/index.ts","types":"src/components/index.d.ts","scripts":{"test":"jest","typescript":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepare":"bob build","release":"release-it","example":"yarn --cwd example","pods":"cd example && pod-install --quiet","bootstrap":"yarn example && yarn && yarn pods"},"keywords":["photo","image","picture","zoom","pinch","pan","reanimated","gesture","instagram","react","react-native","react-native-image-zoom","react-native-zoom","react-native-image","image-zoom","zoom-image","zoomable-image","zoomable","javascript","ui-lib","rn","likashefqet","likashefi"],"repository":{"type":"git","url":"git+https://github.com/likashefqet/react-native-image-zoom.git"},"author":{"name":"Shefqet Lika","email":"likashefi@gmail.com","url":"https://github.com/likashefqet"},"license":"MIT","bugs":{"url":"https://github.com/likashefqet/react-native-image-zoom/issues"},"homepage":"https://github.com/likashefqet/react-native-image-zoom#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@commitlint/config-conventional":"^11.0.0","@react-native-community/eslint-config":"^2.0.0","@release-it/conventional-changelog":"^2.0.0","@types/jest":"^26.0.0","@types/react":"^16.9.19","@types/react-native":"0.62.13","commitlint":"^11.0.0","eslint":"^7.14.0","eslint-config-prettier":"^7.0.0","eslint-plugin-prettier":"^3.1.3","husky":"^6.0.0","jest":"^26.6.3","pod-install":"^0.1.0","prettier":"^2.0.5","react":"17.0.2","react-native":"0.66.4","react-native-builder-bob":"^0.18.0","react-native-gesture-handler":"^2.1.0","react-native-reanimated":"^2.3.0","release-it":"^14.2.2","typescript":"^4.1.3"},"peerDependencies":{"react":">=16.x.x","react-native":">=0.62.x","react-native-gesture-handler":">=2.x.x","react-native-reanimated":">=2.x.x"},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native-community","prettier"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]},"dependencies":{},"directories":{"example":"example","lib":"lib"},"gitHead":"bf877facf0e8ef24f2a8ebaa5bd09c0917256676","_id":"@dailyy-app/react-native-image-zoom@1.2.1","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-1+VSiCAIGUFNbt9tArbSDoeD4/c8StO48xl1Xop658DPTWGvZG3TwGNv7S98IGREUA7gesCnUxvj7clp4rjwgQ==","shasum":"1b327fe2a478c0a3d129f7add49cdca9583a8723","tarball":"https://registry.npmjs.org/@dailyy-app/react-native-image-zoom/-/react-native-image-zoom-1.2.1.tgz","fileCount":10,"unpackedSize":33854,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBWcQkP3xG8I8meiQs6ysXBunsftDJKfQMMLclCZ4HbMAiAeqtEVkJxCP+pKcNgP2B5x+84wwSAcz42ftMLLlY/Pjg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQzLDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoSdw//TAtKkl3iASGixblUI8ht1QnV2p8Ew2In0qeZLHJUeFd88XbT\r\nmmWTwvLwR0Ai5xvTgDeujr7q4SpXCTYALRUhWG+frcQpkXySG9KtlFQHqTK6\r\nEPD+PzbWHva74hVpDKIUf+vJQFLDLWPD24wzW2RU5fycjNXpVs9/isTRdN4t\r\nsLcSqgSCaTZJ8/u731to8mCPdzwaWT0yBZi+ccqexG2bXPTICKMJd77ptAGj\r\nt/7Cy+Ze4Z/ZLVAWe3e7Gf2vzNFvFWFFSBRGEZMINYw442duiV9JK1KpfUpM\r\nMt5AW+MeWxPQ8Ndlt5kNYBJ7sWoYjqMsS2EWD7c4fljiLnRty/KQ+MlIEzmf\r\nhRlnAzZ5AgxoLQnQ2kH29EC6/SQ6ul/XvZu/PrukomLbhqXwSDTLwbOBc8jn\r\nLjih+u/LjGgE0OVfQiXN7fRyscFNdE2UThbkgXS6CjydS6Ylvuu5QerjjAY/\r\nLnRxBJvnl53kkaKl9zkgNC5xsF4ebYbNUAMly60BjQ84EWgBjGORoLIs6CdR\r\nOUOO7kOQ2aattzNK0SlqCZyMRIhbW5BGcI4wjQhPhM0fQbvt1/fEwOBXLTBf\r\n9CaAiMuXkLDfamGM9tvS8jdiF1mAf11Z8gzCTA0n3vmnjbKbqJt84UKAaOEm\r\n3/HyChPgKKaeSyTWj/VSSnNK5CGQriT72Sc=\r\n=hJnp\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"visibait","email":"grafoplays@gmail.com"},"maintainers":[{"name":"visibait","email":"grafoplays@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-image-zoom_1.2.1_1665348291343_0.3301243783581156"},"_hasShrinkwrap":false},"1.2.2":{"name":"@dailyy-app/react-native-image-zoom","version":"1.2.2","description":"A performant zoomable image written in Reanimated v2 🚀","main":"src/index.ts","module":"src/index.ts","types":"src/components/index.d.ts","scripts":{"test":"jest","typescript":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepare":"bob build","release":"release-it","example":"yarn --cwd example","pods":"cd example && pod-install --quiet","bootstrap":"yarn example && yarn && yarn pods"},"keywords":["photo","image","picture","zoom","pinch","pan","reanimated","gesture","instagram","react","react-native","react-native-image-zoom","react-native-zoom","react-native-image","image-zoom","zoom-image","zoomable-image","zoomable","javascript","ui-lib","rn","likashefqet","likashefi"],"repository":{"type":"git","url":"git+https://github.com/dailyy-app/react-native-image-zoom.git"},"author":{"name":"Shefqet Lika","email":"likashefi@gmail.com","url":"https://github.com/likashefqet"},"license":"MIT","bugs":{"url":"https://github.com/likashefqet/react-native-image-zoom/issues"},"homepage":"https://github.com/likashefqet/react-native-image-zoom#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@commitlint/config-conventional":"^11.0.0","@react-native-community/eslint-config":"^2.0.0","@release-it/conventional-changelog":"^2.0.0","@types/jest":"^26.0.0","@types/react":"^16.9.19","@types/react-native":"0.62.13","commitlint":"^11.0.0","eslint":"^7.14.0","eslint-config-prettier":"^7.0.0","eslint-plugin-prettier":"^3.1.3","husky":"^6.0.0","jest":"^26.6.3","pod-install":"^0.1.0","prettier":"^2.0.5","react":"17.0.2","react-native":"0.66.4","react-native-builder-bob":"^0.18.0","react-native-gesture-handler":"^2.1.0","react-native-reanimated":"^2.3.0","release-it":"^14.2.2","typescript":"^4.1.3"},"peerDependencies":{"react":">=16.x.x","react-native":">=0.62.x","react-native-gesture-handler":">=2.x.x","react-native-reanimated":">=2.x.x"},"jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native-community","prettier"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]},"dependencies":{},"directories":{"example":"example","lib":"lib"},"gitHead":"bf877facf0e8ef24f2a8ebaa5bd09c0917256676","_id":"@dailyy-app/react-native-image-zoom@1.2.2","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-167BPm9fUcyh/W7hWV213v0OJX71lZ8WwY+WsVzjbMjb6d/6yWWfnVX/j69A7JjYV7J4EWzxyaU3tNs/1x0R9g==","shasum":"e84e3409682da21af4e9f9faf65b1db8cefbf997","tarball":"https://registry.npmjs.org/@dailyy-app/react-native-image-zoom/-/react-native-image-zoom-1.2.2.tgz","fileCount":10,"unpackedSize":33853,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDiQXfL3Vb6+mpxR0Mn/w//eGxqhZ7eB1uQp4es/jgyGQIhAKsjeIxdp0QOqqKgh+Sin839vIx7okb1tKKuwpL43Fub"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjQzM4ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmpwog/+JNV40QbNp35IT1WQCchHJ0NV0uWj2hN/HyY1Few2fWT+VhAk\r\nNZwUxNp2W9t3Q+dEsv19m4NIDE5ZjV5kmFHc15lnTaF8DxxtYziVrQL9ECnl\r\nPw+yKXxuudKDIvGTMJb66jnCpem50n1HgxdSBg7ebxbCKaqoitZhQRAsJ3YS\r\njW2S4lrEUXz+SLi6IlCROhEjOSkwfTTdfHuits9fvuVbS5YfOg+7SzoBPqjT\r\n3iR+zKamA/FiE3+At6i/UOy8bs47mLyqSCybRjAlzMfvMyEGMSRIqhw92nMU\r\nl1SqlR8vMm/WjTyxpAkG9YwT5aZ1EthQLwzZ6xFGe5fK6NDK6Q8Z8Mbi0Fp5\r\njMTUXU3xNTzs+sVWG3avmZnlgO1NrdrB0pcCly/WJ2hS/FcejCoIUNKX4+Lq\r\nB3Mu2Vb8ZRQbMEzbnyG4CnRFmRPXPCeod8j4NB0XDJzbu3gQaVRgG+KhVB9o\r\nQkenQApn16tGQ/axChKnoR+AfeXtdeOsoT6zVi6BpM6qhakgH3jFhPUNJsUh\r\nlntBoS89ZsX1y8NnkSgBVU0nE+EFuJIAe5/1eHIWNvdktudRiKV1Lq2GpNEE\r\n23zDlIqWjcwBiBCa6KW3I2v6Nx/W1niYzajPxe9QSl3DF6A6R4+R+oLnNJyg\r\nzlsWPM4qmQ33sjGAq16WaFL0gARxZHEJINY=\r\n=2XZ6\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"visibait","email":"grafoplays@gmail.com"},"maintainers":[{"name":"visibait","email":"grafoplays@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-image-zoom_1.2.2_1665348408238_0.5229019572956464"},"_hasShrinkwrap":false},"2.1.1":{"name":"@dailyy-app/react-native-image-zoom","version":"2.1.1","description":"A performant zoomable image written in Reanimated v2+ 🚀","main":"lib/commonjs/index","module":"lib/module/index","types":"lib/typescript/index.d.ts","react-native":"src/index","source":"src/index","scripts":{"test":"jest","typecheck":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepack":"bob build","release":"release-it","example":"yarn --cwd example","bootstrap":"yarn example && yarn install"},"keywords":["photo","image","picture","zoom","pinch","pan","reanimated","gesture","instagram","react","react-native","react-native-image-zoom","react-native-zoom","react-native-image","image-zoom","zoom-image","zoomable-image","zoomable","javascript","ui-lib","rn","dailyy-app","likashefi"],"repository":{"type":"git","url":"git+https://github.com/dailyy-app/react-native-image-zoom.git"},"author":{"name":"Shefqet Lika","email":"likashefi@gmail.com","url":"https://github.com/dailyy-app"},"license":"MIT","bugs":{"url":"https://github.com/dailyy-app/react-native-image-zoom/issues"},"homepage":"https://github.com/dailyy-app/react-native-image-zoom#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@commitlint/config-conventional":"^17.0.2","@evilmartians/lefthook":"^1.2.2","@react-native-community/eslint-config":"^3.0.2","@release-it/conventional-changelog":"^5.0.0","@types/jest":"^28.1.2","@types/react":"~17.0.21","@types/react-native":"0.70.0","commitlint":"^17.0.2","del-cli":"^5.0.0","eslint":"^8.4.1","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","jest":"^28.1.1","pod-install":"^0.1.0","prettier":"^2.0.5","react":"18.2.0","react-native":"0.72.3","react-native-builder-bob":"^0.20.0","react-native-gesture-handler":"^2.12.1","react-native-reanimated":"~3.3.0","release-it":"^15.0.0","typescript":"^5.0.2"},"resolutions":{"@types/react":"17.0.21"},"peerDependencies":{"react":">=16.x.x","react-native":">=0.62.x","react-native-gesture-handler":">=2.x.x","react-native-reanimated":">=2.x.x"},"engines":{"node":">= 16.0.0"},"packageManager":"^yarn@1.22.15","jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native-community","prettier"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]},"dependencies":{"expo-image":"^1.5.1"},"_id":"@dailyy-app/react-native-image-zoom@2.1.1","gitHead":"705a76ae752bf28617c947dfd84c88004201f84a","_nodeVersion":"20.8.0","_npmVersion":"10.2.0","dist":{"integrity":"sha512-SEMyRevap2trphF96gcv36vG3P17KkqctpgF4bHegy/7iNdNCW3/HNhVXKvUa7LK6IfNQraigb5Ts+uyf2EWew==","shasum":"cdde3b3165f540e082dd48804314fdfb5451327d","tarball":"https://registry.npmjs.org/@dailyy-app/react-native-image-zoom/-/react-native-image-zoom-2.1.1.tgz","fileCount":45,"unpackedSize":62095,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEegLwCkDj2oLc0Jp0Bfflc/7Vg3C4+aMPH4X4zIb3C6AiEAy6XyssHwVEfptnf2YjuiBzl4Osvrtfqu3FsS1Vl4Kng="}]},"_npmUser":{"name":"visibait","email":"grafoplays@gmail.com"},"directories":{},"maintainers":[{"name":"visibait","email":"grafoplays@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-image-zoom_2.1.1_1702478014953_0.39631682650249167"},"_hasShrinkwrap":false},"2.1.2":{"name":"@dailyy-app/react-native-image-zoom","version":"2.1.2","description":"A performant zoomable image written in Reanimated v2+ 🚀","main":"lib/commonjs/index","module":"lib/module/index","types":"lib/typescript/index.d.ts","react-native":"src/index","source":"src/index","scripts":{"test":"jest","typecheck":"tsc --noEmit","lint":"eslint \"**/*.{js,ts,tsx}\"","prepack":"bob build","release":"release-it","example":"yarn --cwd example","bootstrap":"yarn example && yarn install"},"keywords":["photo","image","picture","zoom","pinch","pan","reanimated","gesture","instagram","react","react-native","react-native-image-zoom","react-native-zoom","react-native-image","image-zoom","zoom-image","zoomable-image","zoomable","javascript","ui-lib","rn","dailyy-app","likashefi"],"repository":{"type":"git","url":"git+https://github.com/dailyy-app/react-native-image-zoom.git"},"author":{"name":"Shefqet Lika","email":"likashefi@gmail.com","url":"https://github.com/dailyy-app"},"license":"MIT","bugs":{"url":"https://github.com/dailyy-app/react-native-image-zoom/issues"},"homepage":"https://github.com/dailyy-app/react-native-image-zoom#readme","publishConfig":{"registry":"https://registry.npmjs.org/"},"devDependencies":{"@commitlint/config-conventional":"^17.0.2","@evilmartians/lefthook":"^1.2.2","@react-native-community/eslint-config":"^3.0.2","@release-it/conventional-changelog":"^5.0.0","@types/jest":"^28.1.2","@types/react":"~17.0.21","@types/react-native":"0.70.0","commitlint":"^17.0.2","del-cli":"^5.0.0","eslint":"^8.4.1","eslint-config-prettier":"^8.5.0","eslint-plugin-prettier":"^4.0.0","jest":"^28.1.1","pod-install":"^0.1.0","prettier":"^2.0.5","react":"18.2.0","react-native":"0.72.3","react-native-builder-bob":"^0.20.0","react-native-gesture-handler":"^2.12.1","react-native-reanimated":"~3.3.0","release-it":"^15.0.0","typescript":"^5.0.2"},"resolutions":{"@types/react":"17.0.21"},"peerDependencies":{"react":">=16.x.x","react-native":">=0.62.x","react-native-gesture-handler":">=2.x.x","react-native-reanimated":">=2.x.x"},"engines":{"node":">= 16.0.0"},"packageManager":"^yarn@1.22.15","jest":{"preset":"react-native","modulePathIgnorePatterns":["<rootDir>/example/node_modules","<rootDir>/lib/"]},"commitlint":{"extends":["@commitlint/config-conventional"]},"release-it":{"git":{"commitMessage":"chore: release ${version}","tagName":"v${version}"},"npm":{"publish":true},"github":{"release":true},"plugins":{"@release-it/conventional-changelog":{"preset":"angular"}}},"eslintConfig":{"root":true,"extends":["@react-native-community","prettier"],"rules":{"prettier/prettier":["error",{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false}]}},"eslintIgnore":["node_modules/","lib/"],"prettier":{"quoteProps":"consistent","singleQuote":true,"tabWidth":2,"trailingComma":"es5","useTabs":false},"react-native-builder-bob":{"source":"src","output":"lib","targets":["commonjs","module",["typescript",{"project":"tsconfig.build.json"}]]},"dependencies":{"expo-image":"^1.5.1"},"_id":"@dailyy-app/react-native-image-zoom@2.1.2","gitHead":"a24143f8bc7ce374720a9bca31011757be05490d","_nodeVersion":"20.8.0","_npmVersion":"10.2.0","dist":{"integrity":"sha512-p0wobxGnvSfPmOlGpWTCL+iTLpXj1XHYnabaxycMAhZxziCqrwx/bCieOv7o5VZVOoG54Rkz6m7Xq3jTnD+Vsw==","shasum":"432fcf295776a8d640744b18d7f6a7add2866440","tarball":"https://registry.npmjs.org/@dailyy-app/react-native-image-zoom/-/react-native-image-zoom-2.1.2.tgz","fileCount":45,"unpackedSize":62299,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDN/Hau6GBFmbxyndo9FI/SjcHFFiy3BbjdLhY7BDz2SgIhANX+vplvGjea+i2lkTCpNJnwROt2D+d9RwyTZvpgNhAM"}]},"_npmUser":{"name":"visibait","email":"grafoplays@gmail.com"},"directories":{},"maintainers":[{"name":"visibait","email":"grafoplays@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/react-native-image-zoom_2.1.2_1702493502834_0.4993766390930321"},"_hasShrinkwrap":false}},"time":{"created":"2022-10-09T20:44:51.290Z","1.2.1":"2022-10-09T20:44:51.565Z","modified":"2023-12-13T18:51:43.177Z","1.2.2":"2022-10-09T20:46:48.470Z","2.1.1":"2023-12-13T14:33:35.187Z","2.1.2":"2023-12-13T18:51:42.987Z"},"maintainers":[{"name":"visibait","email":"grafoplays@gmail.com"}],"description":"A performant zoomable image written in Reanimated v2+ 🚀","homepage":"https://github.com/dailyy-app/react-native-image-zoom#readme","keywords":["photo","image","picture","zoom","pinch","pan","reanimated","gesture","instagram","react","react-native","react-native-image-zoom","react-native-zoom","react-native-image","image-zoom","zoom-image","zoomable-image","zoomable","javascript","ui-lib","rn","dailyy-app","likashefi"],"repository":{"type":"git","url":"git+https://github.com/dailyy-app/react-native-image-zoom.git"},"author":{"name":"Shefqet Lika","email":"likashefi@gmail.com","url":"https://github.com/dailyy-app"},"bugs":{"url":"https://github.com/dailyy-app/react-native-image-zoom/issues"},"license":"MIT","readme":"# REACT NATIVE IMAGE ZOOM\r\n\r\n![npm](https://img.shields.io/npm/v/@dailyy-app/react-native-image-zoom)\r\n![NPM](https://img.shields.io/npm/l/@dailyy-app/react-native-image-zoom)\r\n![npm peer dependency version](https://img.shields.io/npm/dependency-version/@dailyy-app/react-native-image-zoom/peer/react-native-reanimated)\r\n![npm peer dependency version](https://img.shields.io/npm/dependency-version/@dailyy-app/react-native-image-zoom/peer/react-native-gesture-handler)\r\n![npm bundle size](https://img.shields.io/bundlephobia/min/@dailyy-app/react-native-image-zoom)\r\n[![npm](https://img.shields.io/badge/types-included-blue)](https://github.com/dailyy-app/react-native-image-zoom)\r\n![npms.io (final)](https://img.shields.io/npms-io/maintenance-score/@dailyy-app/react-native-image-zoom)\r\n![GitHub issues](https://img.shields.io/github/issues/dailyy-app/react-native-image-zoom)\r\n\r\n**A performant and customizable image zoom component  \r\nbuilt with Reanimated v2+ and TypeScript. 🌃 🚀**\r\n\r\n_Demo:_\r\n\r\n![React Native Image Zoom](https://raw.githubusercontent.com/dailyy-app/react-native-image-zoom/main/demo.gif)\r\n\r\n<div dir=\"rtl\">\r\nPhoto by <a href=\"https://unsplash.com/photos/XLqiL-rz4V8\" title=\"Photo by Walling\">Walling</a> on <a href=\"https://unsplash.com\" title=\"Unsplash\">Unsplash</a>\r\n</div>\r\n\r\n## Features\r\n\r\n- **Smooth Zooming Gestures:** Smooth and responsive zooming functionality, allowing users to zoom in and out of images using intuitive pinch and pan gestures.\r\n- **Customizable Zoom Settings:** With the `minScale` and `maxScale` props, you can set the minimum and maximum zoom levels for your images, giving you precise control over the zooming experience.\r\n- **Reset zoom and snap back:** The component automatically resets zoom and snaps back to the initial position when the gesture ends.\r\n- **Interactive Callbacks:** The component provides interactive callbacks such as `onInteractionStart`, `onInteractionEnd`, `onPinchStart`, `onPinchEnd`, `onPanStart`, and `onPanEnd` that allow you to handle image interactions and customize the user experience.\r\n- **Reanimated**: Compatible with `Reanimated v2` & `Reanimated v3`.\r\n- **Written in TypeScript:** The library is written in `TypeScript`, providing type safety and improving the maintainability of your code.\r\n- **Full React Native Image Props Support:** The component supports all React Native Image props, making it easy to integrate with existing code and utilize all the features that React Native Image provides.\r\n\r\n## Getting Started\r\n\r\nTo use the `ImageZoom` component, you first need to install the package via npm or yarn. Run either of the following commands:\r\n\r\n```sh\r\nnpm install @dailyy-app/react-native-image-zoom\r\n```\r\n\r\n```sh\r\nyarn add @dailyy-app/react-native-image-zoom\r\n```\r\n\r\n🚨 🚨 Please note that this library is built with React Native Reanimated v2 and uses React Native Gesture Handler. If you haven't installed Reanimated and Gesture Handler yet, please follow the installation instructions for [Reanimated](https://docs.swmansion.com/react-native-reanimated/docs/fundamentals/installation) and [Gesture Handler](https://docs.swmansion.com/react-native-gesture-handler/docs/).\r\n\r\n## Usage\r\n\r\nFirst, import the `ImageZoom` component from the `@dailyy-app/react-native-image-zoom` library:\r\n\r\n```javascript\r\nimport { ImageZoom } from '@dailyy-app/react-native-image-zoom';\r\n```\r\n\r\nTo use the `ImageZoom` component, simply pass the uri prop with the URL of the image you want to zoom:\r\n\r\n```javascript\r\n<ImageZoom uri={imageUri} />\r\n```\r\n\r\n```javascript\r\n<ImageZoom\r\n  uri={imageUri}\r\n  minScale={0.5}\r\n  maxScale={3}\r\n  onInteractionStart={() => console.log('Interaction started')}\r\n  onInteractionEnd={() => console.log('Interaction ended')}\r\n  onPinchStart={() => console.log('Pinch gesture started')}\r\n  onPinchEnd={() => console.log('Pinch gesture ended')}\r\n  onPanStart={() => console.log('Pan gesture started')}\r\n  onPanEnd={() => console.log('Pan gesture ended')}\r\n  renderLoader={() => <CustomLoader />}\r\n  resizeMode=\"cover\"\r\n/>\r\n```\r\n\r\n## Properties\r\n\r\nAll `React Native Image Props` &\r\n\r\n| Property           | Type     | Default             | Description                                                                                     |\r\n| ------------------ | -------- | ------------------- | ----------------------------------------------------------------------------------------------- |\r\n| uri                | String   | `''` (empty string) | The image's URI, which can be overridden by the `source` prop.                                  |\r\n| minScale           | Number   | `1`                 | The minimum scale allowed for zooming.                                                          |\r\n| maxScale           | Number   | `5`                 | The maximum scale allowed for zooming.                                                          |\r\n| minPanPointers     | Number   | `2`                 | The minimum number of pointers required to enable panning.                                      |\r\n| maxPanPointers     | Number   | `2`                 | The maximum number of pointers required to enable panning.                                      |\r\n| isPanEnabled       | Boolean  | `true`              | Determines whether panning is enabled within the range of the minimum and maximum pan pointers. |\r\n| isPinchEnabled     | Boolean  | `true`              | Determines whether pinching is enabled.                                                         |\r\n| onInteractionStart | Function | `undefined`         | A callback triggered when the image interaction starts.                                         |\r\n| onInteractionEnd   | Function | `undefined`         | A callback triggered when the image interaction ends.                                           |\r\n| onPinchStart       | Function | `undefined`         | A callback triggered when the image pinching starts.                                            |\r\n| onPinchEnd         | Function | `undefined`         | A callback triggered when the image pinching ends.                                              |\r\n| onPanStart         | Function | `undefined`         | A callback triggered when the image panning starts.                                             |\r\n| onPanEnd           | Function | `undefined`         | A callback triggered when the image panning ends.                                               |\r\n\r\n## Changelog\r\n\r\nPlease refer to the [Releases](https://github.com/dailyy-app/react-native-image-zoom/releases) section on the GitHub repository. Each release includes a detailed list of changes made to the library, including bug fixes, new features, and any breaking changes. We recommend reviewing these changes before updating to a new version of the library to ensure a smooth transition.\r\n\r\n## Author\r\n\r\n<table> <tr> <td align='center'> <p></p><a href=\"https://github.com/dailyy-app\"><pre><img src=\"https://avatars.githubusercontent.com/u/22661589?v=4?s=96\" width=\"128px;\" marginBottom=\"8px\" alt=\"\"/><br/><br/>Shefqet Lika</pre></a> <a href=\"https://github.com/dailyy-app/react-native-image-zoom/commits?author=dailyy-app\" title=\"Code\"><pre>💻 commits</pre></a> </td></tr></table>\r\n\r\n<!-- ## Sponsor & Support -->\r\n\r\n## Support\r\n\r\n<!-- To keep this library maintained and up-to-date please consider [sponsoring it on GitHub](https://github.com/sponsors/dailyy-app). Or i -->\r\n\r\nIf you need further assistance, feel free to reach out to me by email at [@likashefi](mailto:likashefi@gmail.com).\r\n\r\n## License\r\n\r\nThe library is licensed under the [MIT](./LICENSE) License.\r\n\r\n<!--\r\n## Contributing\r\n\r\nSee the [contributing guide](CONTRIBUTING.md) to learn how to contribute to the repository and the development workflow.\r\n\r\n## License\r\n\r\nMIT -->\r\n","readmeFilename":"README.md"}