{
  "_id": "react-native-reanimated-image-viewer",
  "maintainers": [
    {
      "name": "andresribeiro",
      "email": "andresribeiroo@proton.me"
    }
  ],
  "keywords": [
    "react-native",
    "react",
    "reanimated",
    "image",
    "image-viewer",
    "image-viewing",
    "viewer",
    "viewing",
    "pinch",
    "pan",
    "zoom",
    "double-tap",
    "rn",
    "typescript"
  ],
  "dist-tags": {
    "latest": "1.0.2"
  },
  "author": {
    "name": "André Ribeiro"
  },
  "_rev": "2-9ba77d6fee5272b473988feb6353ee40",
  "description": "A image viewer for React Native created with Reanimated",
  "readme": "# A image viewer for React Native created with Reanimated\n\n### Features ✨\n\n- ⚡ 120 FPS\n- 🤏 Pinch to zoom\n- 🤞 Double tap\n- ✌️ Swipe-to-close\n- 📦 Tiny\n- 🚀 Created with Typescript\n- 💅 Highly customizable\n\nhttps://user-images.githubusercontent.com/63297375/210002857-2ab01afa-420a-40c9-9f4c-5df4c2a40a2b.mp4\n\n### About 🗞️\n\nUses Reanimated and Gesture Handler under the hood. Created for my social network app, [Drakkle](https://play.google.com/store/apps/details?id=com.andresribeiro.drakkle)\n\n### Installation ⚙️\n\n```bash\nyarn add react-native-reanimated-image-viewer\n```\n\nYou will need [Reanimated](https://github.com/software-mansion/react-native-reanimated) and [Gesture Handler](https://github.com/software-mansion/react-native-gesture-handler) installed in your project\n\n### Usage 🔨\n\nImport the ImageViewer into a new screen. You can also use a Modal, but you will need to [configure the Gesture Handler on Android](https://docs.swmansion.com/react-native-gesture-handler/docs/next/installation#usage-with-modals-on-android)\n\n### Example\n\n```tsx\nimport React from \"react\";\n\nimport ImageViewer from \"react-native-reanimated-image-viewer\";\nimport { GestureHandlerRootView } from \"react-native-gesture-handler\";\n\nexport default function App() {\n  const imageUrl = \"https://images.pexels.com/photos/994605/pexels-photo-994605.jpeg?auto=compress&cs=tinysrgb&w=2726&h=2047&dpr=1\"\n\n  return (\n    <GestureHandlerRootView style={{flex: 1}}>\n      <ImageViewer\n        imageUrl={imageUrl} width={2726} height={2047} onRequestClose={() => {}}\n      />\n    </GestureHandlerRootView>\n  );\n}\n\n```\n\n### Props ✍️\n\n| Property | Default | Type | Required\n| ---- | ---- | ---- | ----\n| `imageUrl` | `undefined` | `string` | `true`\n| `width` | `undefined` | `number` | `true`\n| `height` | `undefined` | `number` | `true`\n| `onRequestClose` | `undefined` | `() => unknown` | `true`\n| `onSingleTap` | `undefined` | `() => unknown` | `false`\n",
  "repository": {
    "type": "git",
    "url": "git+ssh://git@github.com/andresribeiro/react-native-reanimated-image-viewer.git"
  },
  "bugs": {
    "url": "https://github.com/andresribeiro/react-native-reanimated-image-viewer/issues"
  },
  "license": "MIT",
  "versions": {
    "1.0.0": {
      "name": "react-native-reanimated-image-viewer",
      "version": "1.0.0",
      "description": "A image viewer for React Native created with Reanimated",
      "main": "./build/dist/index.js",
      "repository": {
        "type": "git",
        "url": "git+ssh://git@github.com/andresribeiro/react-native-reanimated-image-viewer.git"
      },
      "author": {
        "name": "André Ribeiro"
      },
      "bugs": {
        "url": "https://github.com/andresribeiro/react-native-reanimated-image-viewer/issues"
      },
      "license": "MIT",
      "homepage": "https://github.com/andresribeiro/react-native-reanimated-image-viewer#readme",
      "keywords": [
        "react-native",
        "react",
        "reanimated",
        "image",
        "image-viewer",
        "image-viewing",
        "viewer",
        "viewing",
        "pinch",
        "pan",
        "zoom",
        "double-tap",
        "rn",
        "typescript"
      ],
      "scripts": {
        "build": "cd lib && tsc && npm run copy:package",
        "lint": "rome check .",
        "lint:fix": "rome format . --write",
        "copy:package": "cpx '../package.json' '../build/dist/'"
      },
      "simple-git-hooks": {
        "pre-commit": "pnpm lint",
        "prepare-commit-msg": "exec < /dev/tty && git cz --hook || true"
      },
      "config": {
        "commitizen": {
          "path": "cz-emoji"
        }
      },
      "devDependencies": {
        "@commitlint/cli": "^17.4.0",
        "@commitlint/config-conventional": "^17.4.0",
        "@types/react": "^18.0.26",
        "@types/react-native": "^0.70.8",
        "commitizen": "^4.2.6",
        "cpx": "^1.5.0",
        "cz-emoji": "^1.3.2-canary.2",
        "react": "^18.1.0",
        "react-native": "^0.70.6",
        "react-native-gesture-handler": "^2.8.0",
        "react-native-reanimated": "^2.13.0",
        "rome": "^11.0.0",
        "typescript": "^4.9.4"
      },
      "types": "./build/dist/index.d.ts",
      "gitHead": "a2bac135eaa36d47e774ebc73a4cd3f291f8a4a1",
      "_id": "react-native-reanimated-image-viewer@1.0.0",
      "_nodeVersion": "16.19.0",
      "_npmVersion": "9.2.0",
      "dist": {
        "integrity": "sha512-juOa/9ZEN9WCpmCUaTRhPQnmqy3sfv4AiMdNhqtub2A2aNqtgnvKR/Gw4LGKGgauvo/zobjeU1O89OR3XUCabw==",
        "shasum": "453e8f20a1d26b8149e14bac39e7d86e486790bc",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/react-native-reanimated-image-viewer/-/react-native-reanimated-image-viewer-1.0.0.tgz",
        "fileCount": 15,
        "unpackedSize": 61274,
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEYCIQDqR+ctm4sClrrrSBpzxkPMh68XPU/j+d+csa7KzCWpeAIhAKCKLa/ZvUI1m3cIjLLnyiqxDtu+2W8waaZTR8M/buDJ"
          }
        ],
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjtwSjACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoekA/6AhpURAp2G/Zk3rFY0sf9RSJF6G6y2PlISTxqfnXOweED89HP\r\nzWvyHs8RdklZRZKxHJI/vqfwq4p0Lb13ZW7iYBBIimS56Va6CVPf18BaWlNl\r\nBqmuhMP614rr3br7iOpBMYcXok8cXnwBkOTLBM8E/SFQMikG1DMkDTR7z6Vu\r\n25C3n7Yg+yFjgCDRfZ4YQ4gPH6LGyZvMaBpsZylnkAkNK28ui21AEk+/YL58\r\n5o4jyeWW9IKBjA75N9YVN9v5Wg/yYlpERvIeOENomA/Qd7d3Vf9KLQESPGcl\r\nT0C6mPCd2O1OmMVcWzXK4/M6JSppF0SCunVSNQdZVg4GlVi0CfJw5yw9iB1f\r\nq5T7MHOs3Ohe6GDN1fSvh+5e2D7BElPUbwRwbyeuPLXX0jeLFZ71bZktaVuL\r\n4XIhgMlI0HuCtf0M+Wjd0HBcFo35gM0WxU0CEG9s8BiH0lO9/VzWSdv9vGDL\r\n34u0SP5t5TBbxVRQG/gxqrcfPBFd7O6Lxg41TodW3OjMYfqV1xLxPeoK50Sl\r\nHsGv5kY8C4ioTKXuQ5fSqAEYRJQ2z0Og5tT2+e5ae4c5mQcvAMeTw16PJkzH\r\ngr1GoMIehJCD2z8QHwN4Ry+lwscdlc8XLqMBR4EqYfcJfxO4XrRthWCK0fAV\r\nn98cN+ZCrVTgT5uYz1+R7DJAcIsxNqSRj8M=\r\n=X6jZ\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "_npmUser": {
        "name": "andresribeiro",
        "email": "andresribeiroo@proton.me"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "andresribeiro",
          "email": "andresribeiroo@proton.me"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/react-native-reanimated-image-viewer_1.0.0_1672938658811_0.20106559984356775"
      },
      "_hasShrinkwrap": false
    },
    "1.0.1": {
      "name": "react-native-reanimated-image-viewer",
      "version": "1.0.1",
      "description": "A image viewer for React Native created with Reanimated",
      "main": "./build/dist/index.js",
      "repository": {
        "type": "git",
        "url": "git+ssh://git@github.com/andresribeiro/react-native-reanimated-image-viewer.git"
      },
      "author": {
        "name": "André Ribeiro"
      },
      "bugs": {
        "url": "https://github.com/andresribeiro/react-native-reanimated-image-viewer/issues"
      },
      "license": "MIT",
      "homepage": "https://github.com/andresribeiro/react-native-reanimated-image-viewer#readme",
      "keywords": [
        "react-native",
        "react",
        "reanimated",
        "image",
        "image-viewer",
        "image-viewing",
        "viewer",
        "viewing",
        "pinch",
        "pan",
        "zoom",
        "double-tap",
        "rn",
        "typescript"
      ],
      "scripts": {
        "build": "cd lib && tsc && npm run copy:package",
        "lint": "rome check .",
        "lint:fix": "rome format . --write",
        "copy:package": "cpx '../package.json' '../build/dist/'"
      },
      "simple-git-hooks": {
        "pre-commit": "pnpm lint",
        "prepare-commit-msg": "exec < /dev/tty && git cz --hook || true"
      },
      "config": {
        "commitizen": {
          "path": "cz-emoji"
        }
      },
      "devDependencies": {
        "@commitlint/cli": "^17.4.0",
        "@commitlint/config-conventional": "^17.4.0",
        "@types/react": "^18.0.26",
        "@types/react-native": "^0.70.8",
        "commitizen": "^4.2.6",
        "cpx": "^1.5.0",
        "cz-emoji": "^1.3.2-canary.2",
        "react": "^18.1.0",
        "react-native": "^0.70.6",
        "react-native-gesture-handler": "^2.8.0",
        "react-native-reanimated": "^2.13.0",
        "rome": "^11.0.0",
        "simple-git-hooks": "^2.8.1",
        "typescript": "^4.9.4"
      },
      "types": "./build/dist/index.d.ts",
      "gitHead": "50c3a4a56ad543defeb501b6ed1132501e1bc1a7",
      "_id": "react-native-reanimated-image-viewer@1.0.1",
      "_nodeVersion": "16.19.0",
      "_npmVersion": "9.2.0",
      "dist": {
        "integrity": "sha512-WQVo+R18O6R3DMMJMISUsjJcaNWn+CHyfEF7CxkkAlh+2vuRfgNW+mVs6Ym9we6fbiy+BjbYOieVo2aR0SOCvQ==",
        "shasum": "7ea8008a13523a8e49910119fa949bfc205ac7b4",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/react-native-reanimated-image-viewer/-/react-native-reanimated-image-viewer-1.0.1.tgz",
        "fileCount": 15,
        "unpackedSize": 61468,
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEYCIQD50EOX1JtjyQNem0Isls/8doDBIgyMHxmlEbVSmbW2CgIhAOPVqug1yknx9LwAZVtyWthxOybI0YqgpyxWSI5q3Kxw"
          }
        ],
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjtwfDACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmq0Vw/+Lf/0PrJCBo0tV2gxINJL9D1lSx6rgUNJYkodu5od8dlSKPkZ\r\nqjzQe2spDtsUvx+9aSTB3g+CWLgxrt6GzvJtbNzzslzwpsgZNcMWNNq3koMg\r\nSsyqeXhJ24e74MDEkvrs3BBgyjcZMrMs6BnSUFxMIt2o6lrnh38J5Kun5ODv\r\ndXUfBUOGRaZ1ZeAGZV9oyBi69V6ct6zjy/ompdkBJXbRLuH8luNyk6e0RJ+7\r\nFXMRilqehiKR4heRj17ltcf9oaHzoa9Z+pnu7jHXPC1BfqawJtjJiu9fb15N\r\no7eFKUrWCwM98217Xqy8ORnmbW3MOgzk2U0nvs7ARfo+rCaE5pG4kbHExywi\r\nurInXoKC7mOcSoWZ1embQ8er7ajSb3xKUGl+VUSrxRYT9Yf+xOPX2fwTHsIm\r\nxLnAlMe/eYObUMAguwojEt6/tGG8I8oc6C2hLrQnat/NAArHWPykZArJdgEc\r\n1dR9xpv9h+TOW2qMV+ztgFnUzNj674iLMEq2ljM9/cb9hvDkQEXbAMVBjTru\r\na7pzcl5aNC6v7V8S5eoS+NE4XjhQsJd1jLsxZriojA/4XiNMuBChACJxADGj\r\nDY0S8VT9p8HVNKr9r8w0rDr318Q67AmygyFTqHcoOb1T+qqS4NmVuPJO+3pT\r\nq0Q/UegMW0O0ExQhsBj+SxICgf35SZtH+Qc=\r\n=jIoX\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "_npmUser": {
        "name": "andresribeiro",
        "email": "andresribeiroo@proton.me"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "andresribeiro",
          "email": "andresribeiroo@proton.me"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/react-native-reanimated-image-viewer_1.0.1_1672939459345_0.5696348876925861"
      },
      "_hasShrinkwrap": false
    },
    "1.0.2": {
      "name": "react-native-reanimated-image-viewer",
      "version": "1.0.2",
      "description": "A image viewer for React Native created with Reanimated",
      "main": "./build/dist/index.js",
      "repository": {
        "type": "git",
        "url": "git+ssh://git@github.com/andresribeiro/react-native-reanimated-image-viewer.git"
      },
      "author": {
        "name": "André Ribeiro"
      },
      "bugs": {
        "url": "https://github.com/andresribeiro/react-native-reanimated-image-viewer/issues"
      },
      "license": "MIT",
      "homepage": "https://github.com/andresribeiro/react-native-reanimated-image-viewer#readme",
      "keywords": [
        "react-native",
        "react",
        "reanimated",
        "image",
        "image-viewer",
        "image-viewing",
        "viewer",
        "viewing",
        "pinch",
        "pan",
        "zoom",
        "double-tap",
        "rn",
        "typescript"
      ],
      "scripts": {
        "build": "cd lib && tsc && npm run copy:package",
        "lint": "rome check .",
        "lint:fix": "rome format . --write",
        "copy:package": "cpx '../package.json' '../build/dist/'"
      },
      "simple-git-hooks": {
        "pre-commit": "pnpm lint",
        "prepare-commit-msg": "exec < /dev/tty && git cz --hook || true"
      },
      "config": {
        "commitizen": {
          "path": "cz-emoji"
        }
      },
      "devDependencies": {
        "@commitlint/cli": "^17.4.0",
        "@commitlint/config-conventional": "^17.4.0",
        "@types/react": "^18.0.26",
        "@types/react-native": "^0.70.8",
        "commitizen": "^4.2.6",
        "cpx": "^1.5.0",
        "cz-emoji": "^1.3.2-canary.2",
        "react": "^18.1.0",
        "react-native": "^0.70.6",
        "react-native-gesture-handler": "^2.8.0",
        "react-native-reanimated": "^2.13.0",
        "rome": "^11.0.0",
        "simple-git-hooks": "^2.8.1",
        "typescript": "^4.9.4"
      },
      "peerDependencies": {
        "react": "*",
        "react-native": "*",
        "react-native-gesture-handler": "*",
        "react-native-reanimated": "*"
      },
      "types": "./build/dist/index.d.ts",
      "gitHead": "b99cd8bc6ca88e8e1feb3a72dde18913110a8acd",
      "_id": "react-native-reanimated-image-viewer@1.0.2",
      "_nodeVersion": "16.19.0",
      "_npmVersion": "9.2.0",
      "dist": {
        "integrity": "sha512-XLWwmzzHy2gD+IA7AC5wBqs+gmyl/i7dEGkuHOkMjczcJFlQqVe9sHM44ZlrRsTf2+5X9+wxavQb/2H+ezrLiw==",
        "shasum": "05b6e6e1a4dc5dff8c3dae25f2f5f634088aa84c",
        "tarball": "https://archive.ito.gov.ir/npm/_packages/react-native-reanimated-image-viewer/-/react-native-reanimated-image-viewer-1.0.2.tgz",
        "fileCount": 15,
        "unpackedSize": 61616,
        "signatures": [
          {
            "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
            "sig": "MEQCIENijdepP3WaecOz1w50Uzx/frMghyfKDVA0yyKqYbzEAiBQdvu+7JM/qbhnJfuNoMpTOKeHsP9OOZYsep+tgpnF0Q=="
          }
        ],
        "npm-signature": "-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjtwlAACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpWLQ//bYDPtfb/RqN86zb6y4hNKusZL6xNd1yr6jyTcuyIuuCoJifr\r\nNzr1IAdWIYvhw5YmANhxqF4LmkJVGFpbLKCgcqaNo4aKtAP2Be4evq16iN6g\r\nEp4xeiV1TLk2dznrWt1rd04yajmpEstD+cvprBfEKzb5IaJ0OjdPB99GLu9o\r\n0fzGxycXcpNeCd3BccDdoOPTJpFUD4sylpT3QFVWqVyXTuOcnGtWK4+q6fss\r\nL+ytEQl8LiONW6qYnL0i5s9hFqAlfzUNC05wTb56HW6aliECbLEUHFBDways\r\nyrc33b3H0VV/ZwBUJK6jYeuys/gTbNUlISgtkK58oEAZOpnNKEwIBtbQtpPJ\r\n6pyA23I+3bz5XNVDqAb93QyzRmKmW/SAaHW7NvvvM7DElKH5jzu8ueyS+NbL\r\nKxHJRx7pgHN+5KRzZFu68z9KPId6UxCWHmSOrAPhWpa/J1FhjPbq1k1krlge\r\nQwr8x9yB419c/CqDTf2p8YyMRclstcsUP7Zs9LBsRMf4YsKsN7E4desK07xn\r\n8mxamovy9uggVzCEaSiCRsTnOtlpirQ33sZpUxIDoLaAzKkeuaz45NTPsEWh\r\ng/H9UWfKS6c4cKrDRL1uIzHeU8Zo3mrYGYagHGe4uA35yqXhLtBwFbFeA9lU\r\nCt+dfS9lnpaD+ssNqqbxbKJLKNKtpopWtK8=\r\n=ET5O\r\n-----END PGP SIGNATURE-----\r\n"
      },
      "_npmUser": {
        "name": "andresribeiro",
        "email": "andresribeiroo@proton.me"
      },
      "directories": {},
      "maintainers": [
        {
          "name": "andresribeiro",
          "email": "andresribeiroo@proton.me"
        }
      ],
      "_npmOperationalInternal": {
        "host": "s3://npm-registry-packages",
        "tmp": "tmp/react-native-reanimated-image-viewer_1.0.2_1672939840541_0.24988238920562567"
      },
      "_hasShrinkwrap": false
    }
  },
  "name": "react-native-reanimated-image-viewer",
  "time": {
    "created": "2023-01-05T17:10:58.810Z",
    "1.0.0": "2023-01-05T17:10:58.974Z",
    "modified": "2026-05-30T21:10:15.054Z",
    "1.0.1": "2023-01-05T17:24:19.486Z",
    "1.0.2": "2023-01-05T17:30:40.752Z"
  },
  "readmeFilename": "README.md",
  "homepage": "https://github.com/andresribeiro/react-native-reanimated-image-viewer#readme"
}