{
  "name": "react-image-size",
  "version": "3.1.1",
  "description": "React hook and utility to get image dimensions from a URL. Caching, retries, abort, SSR-safe.",
  "main": "lib/index.js",
  "module": "lib/index.mjs",
  "types": "lib/index.d.ts",
  "exports": {
    ".": {
      "types": "./lib/index.d.ts",
      "import": "./lib/index.mjs",
      "require": "./lib/index.js"
    }
  },
  "scripts": {
    "build": "tsup",
    "format": "prettier --write \"src/**/*.ts\"",
    "lint": "eslint \"src/**/*.ts\"",
    "size": "size-limit",
    "test": "jest",
    "test:coverage": "yarn test --coverage",
    "prepare": "yarn build"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/andreyk1512/react-image-size.git"
  },
  "files": [
    "lib/**/*"
  ],
  "keywords": [
    "react",
    "react-hooks",
    "hook",
    "typescript",
    "image",
    "image-size",
    "image-dimensions",
    "image-dimension",
    "dimension",
    "dimensions",
    "size",
    "resolution",
    "image-resolution",
    "width",
    "height",
    "url",
    "aspect-ratio",
    "nextjs",
    "ssr"
  ],
  "author": "Andrii Krupa",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/andreyk1512/react-image-size/issues"
  },
  "homepage": "https://github.com/andreyk1512/react-image-size#readme",
  "peerDependencies": {
    "react": ">=16.9.0",
    "react-dom": ">=16.9.0"
  },
  "size-limit": [
    {
      "path": "lib/index.mjs",
      "limit": "3 kB"
    }
  ],
  "devDependencies": {
    "@jest/globals": "^30.3.0",
    "@size-limit/preset-small-lib": "^12.1.0",
    "@testing-library/dom": "^10.4.1",
    "@testing-library/react": "^16.3.2",
    "@types/jest": "^30.0.0",
    "@types/react": "^19.2.14",
    "@typescript-eslint/eslint-plugin": "^8.59.2",
    "@typescript-eslint/parser": "^8.59.2",
    "eslint": "^10.3.0",
    "eslint-config-prettier": "^10.1.8",
    "eslint-plugin-react-hooks": "^7.1.1",
    "jest": "^30.3.0",
    "jest-environment-jsdom": "^30.3.0",
    "prettier": "^3.8.3",
    "react": "^19.2.6",
    "react-dom": "^19.2.6",
    "size-limit": "^12.1.0",
    "ts-jest": "^29.4.9",
    "tsup": "^8.5.1",
    "typescript": "^6.0.3"
  }
}
