UNPKG

image-hash

Version:
60 lines (59 loc) 1.53 kB
{ "name": "image-hash", "version": "5.3.2", "description": "Create a hash from an image", "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { "test": "npx mocha -r ts-node/register __tests__/*.test.ts ", "build": "tsc", "lint": "eslint src/*.ts", "lint:fix": "eslint src/*.ts --fix" }, "files": [ "lib" ], "repository": { "type": "git", "url": "git+https://github.com/danm/image-hash.git" }, "keywords": [ "phash", "hash", "image hash", "perceptual hash" ], "author": "Daniel Morrison <daniel.morrison@bbc.co.uk>", "license": "MIT", "bugs": { "url": "https://github.com/danm/image-hash/issues" }, "homepage": "https://github.com/danm/image-hash#readme", "dependencies": { "@cwasm/webp": "^0.1.5", "file-type": "^16.5.3", "jpeg-js": "^0.4.0", "pngjs": "^6.0.0", "request": "^2.81.0" }, "devDependencies": { "@babel/cli": "^7.2.3", "@babel/core": "^7.2.2", "@babel/plugin-transform-modules-commonjs": "^7.4.4", "@babel/preset-env": "^7.3.1", "@babel/preset-typescript": "^7.1.0", "@babel/runtime": "^7.3.1", "@types/chai": "^4.2.12", "@types/mocha": "^9.0.0", "@types/node": "^11.13.8", "chai": "^4.2.0", "eslint": "^8.8.0", "eslint-config-airbnb-base": "^15.0.0", "eslint-config-airbnb-typescript": "^16.1.0", "eslint-plugin-import": "^2.25.4", "mocha": "^9.0.0", "ts-node": "^8.10.2", "typescript": "^3.3.1", "@types/pngjs": "^6.0.1" } }