imgphash/package.json
Dan Flettre 6e4a899128 update deps and convert to esm
- resolves 7 vulnerabilities in dependencies
  - updates code to ESM. This is a breaking change for CommonJS consumers of this package, but it was necessary to get the latest patched axios package.
  - switch from jest to mocha for better esm support

add extensions to file imports

switch from jest to mocha
2024-04-03 19:29:06 -05:00

37 lines
876 B
JSON

{
"name": "imgphash",
"version": "0.4.0",
"description": "Provide an image class that is able to calculate similarity to other images using the phash value",
"main": "./src/lib.js",
"keywords": [
"javascript",
"phash",
"hashing",
"images",
"image-phash"
],
"author": "Victor Martinez <jaster.victor@gmail.com>",
"license": "MIT",
"type": "module",
"scripts": {
"test": "mocha"
},
"dependencies": {
"@canvas/image": "^2.0.0",
"axios": "^1.6.8",
"blockhash-core": "^0.1.0"
},
"devDependencies": {
"@types/node": "^20.12.3",
"expect": "^29.7.0",
"mocha": "^10.4.0"
},
"repository": {
"type": "git",
"url": "git+https://github.com/JasterV/imgphash.git"
},
"bugs": {
"url": "https://github.com/JasterV/imgphash/issues"
},
"homepage": "https://github.com/JasterV/imgphash#readme"
}