replace-color-ts
Version:
Replace color with another one pixel by pixel.
70 lines (69 loc) • 1.8 kB
JSON
{
"name": "replace-color-ts",
"version": "2.4.7",
"description": "Replace color with another one pixel by pixel.",
"keywords": [
"CIE76",
"CIE94",
"CIEDE2000",
"color difference",
"color replacement",
"Delta E",
"image processing",
"pixel by pixel",
"remove watermark",
"watermark detection"
],
"exports": {
".": {
"import": {
"types": "./lib/esm/types/index.d.ts",
"default": "./lib/esm/index.js"
},
"require": {
"types": "./lib/cjs/types/index.d.ts",
"default": "./lib/cjs/index.js"
}
}
},
"main": "./lib/cjs/index.js",
"module": "./lib/esm/index.js",
"types": "./lib/cjs/types/index.d.ts",
"files": [
"lib/**/*"
],
"homepage": "https://github.com/proSingularity/replace-color#readme",
"bugs": "https://github.com/proSingularity/replace-color/issues",
"repository": "proSingularity/replace-color",
"license": "MIT",
"author": "Vladyslav Turak <turakvlad@gmail.com>. Ported to TS and ESM by Mirco Kraenz",
"scripts": {
"test": "npm run build && mocha",
"prebuild": "rm -rf ./lib",
"build": "tsc --project tsconfig.esm.json && tsc --project tsconfig.cjs.json",
"prepublish:prod": "npm run build",
"publish:prod": "npm publish"
},
"dependencies": {
"color-convert": "^1.9.3",
"delta-e": "0.0.7",
"hex-color-regex": "^1.1.0",
"jimp": "^0.9.3"
},
"devDependencies": {
"@types/color-convert": "^1.9.0",
"@types/delta-e": "^0.0.0",
"@types/hex-color-regex": "^1.1.1",
"@types/node": "^18.7.6",
"mocha": "^5.2.0",
"request": "^2.88.0",
"request-promise": "^4.2.4",
"typescript": "^4.7.4"
},
"engines": {
"node": ">= 6"
},
"publishConfig": {
"access": "public"
}
}