{
  "name": "imghash",
  "version": "1.1.4",
  "description": "Image perceptual hash calculation for node",
  "scripts": {
    "lint": "biome check src",
    "lint:fix": "biome check --write src",
    "typecheck": "tsc --noEmit",
    "test": "vitest",
    "e2e": "bats e2e/*.bats",
    "build": "tsdown",
    "dev": "tsdown --watch"
  },
  "repository": {
    "type": "git",
    "url": "git+https://github.com/pwlmc/imghash.git"
  },
  "keywords": [
    "perceptual",
    "image",
    "hash",
    "phash",
    "imgseek"
  ],
  "author": "Paweł Maciejewski <pwlmaciejewski@gmail.com>",
  "license": "MIT",
  "bugs": {
    "url": "https://github.com/pwlmc/imghash/issues"
  },
  "engines": {
    "node": ">=20"
  },
  "homepage": "https://github.com/pwlmc/imghash#readme",
  "main": "dist/index.cjs",
  "module": "dist/index.mjs",
  "types": "dist/index.d.cts",
  "exports": {
    ".": {
      "import": {
        "types": "./dist/index.d.mts",
        "default": "./dist/index.mjs"
      },
      "require": {
        "types": "./dist/index.d.cts",
        "default": "./dist/index.cjs"
      }
    }
  },
  "type": "commonjs",
  "files": [
    "dist",
    "README.md",
    "LICENSE"
  ],
  "devDependencies": {
    "@types/node": "^24.10.1",
    "@biomejs/biome": "^2.0.0",
    "@vitest/coverage-v8": "^4.1.5",
    "bats": "^1.13.0",
    "bats-assert": "^2.2.4",
    "bats-support": "^0.3.0",
    "leven": "^3.1.0",
    "tsdown": "^0.21.7",
    "typescript": "^6.0.3",
    "vitest": "^4.1.3"
  },
  "dependencies": {
    "@canvas/image": "^2.0.0",
    "blockhash-core": "^0.1.0",
    "image-type": "^4.1.0",
    "jpeg-js": "^0.4.1"
  }
}
