imghash
Version:
Image perceptual hash calculation for node
74 lines (73 loc) • 1.79 kB
JSON
{
"name": "imghash",
"version": "1.1.2",
"description": "Image perceptual hash calculation for node",
"scripts": {
"lint": "eslint src",
"typecheck": "tsc --noEmit",
"test": "vitest",
"e2e": "bats e2e/*.bats",
"build": "tsup src/index.ts --format=cjs,esm --dts --cjsInterop",
"dev": "tsup src/index.ts --format cjs --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.js",
"module": "dist/index.mjs",
"types": "dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.js"
}
},
"type": "commonjs",
"files": [
"dist",
"README.md",
"LICENSE"
],
"devDependencies": {
"@types/node": "^24.10.1",
"@typescript-eslint/eslint-plugin": "^8.48.0",
"@typescript-eslint/parser": "^8.39.0",
"@vitest/coverage-v8": "^4.0.14",
"bats": "^1.12.0",
"bats-assert": "^2.0.0",
"bats-support": "^0.3.0",
"eslint": "^9.33.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-prettier": "^5.5.4",
"leven": "^3.1.0",
"prettier": "^3.6.2",
"tsup": "^8.5.0",
"typescript": "^5.9.2",
"typescript-eslint": "^8.48.0",
"vitest": "^4.0.13"
},
"dependencies": {
"@canvas/image": "^2.0.0",
"blockhash-core": "^0.1.0",
"image-type": "^4.1.0",
"jpeg-js": "^0.4.1"
}
}