UNPKG

@thi.ng/pixel-analysis

Version:

Image color & feature analysis utilities

117 lines 2.83 kB
{ "name": "@thi.ng/pixel-analysis", "version": "2.0.3", "description": "Image color & feature analysis utilities", "type": "module", "module": "./index.js", "typings": "./index.d.ts", "sideEffects": false, "repository": { "type": "git", "url": "https://github.com/thi-ng/umbrella.git" }, "homepage": "https://thi.ng/pixel-analysis", "funding": [ { "type": "github", "url": "https://github.com/sponsors/postspectacular" }, { "type": "patreon", "url": "https://patreon.com/thing_umbrella" }, { "type": "liberapay", "url": "https://liberapay.com/thi.ng" } ], "author": "Karsten Schmidt (https://thi.ng)", "license": "Apache-2.0", "scripts": { "build": "yarn build:esbuild && yarn build:decl", "build:decl": "tsc --declaration --emitDeclarationOnly", "build:esbuild": "esbuild --format=esm --platform=neutral --target=es2022 --tsconfig=tsconfig.json --outdir=. src/**/*.ts", "clean": "bun ../../tools/src/clean-package.ts", "doc": "typedoc --options ../../typedoc.json --out doc src/index.ts", "doc:readme": "bun ../../tools/src/module-stats.ts && bun ../../tools/src/readme.ts", "pub": "yarn npm publish --access public", "test": "bun test", "tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts" }, "dependencies": { "@thi.ng/api": "^8.12.1", "@thi.ng/arrays": "^2.13.8", "@thi.ng/color": "^5.7.56", "@thi.ng/compare": "^2.4.27", "@thi.ng/math": "^5.11.35", "@thi.ng/metrics": "^0.2.2", "@thi.ng/pixel": "^7.5.7", "@thi.ng/pixel-convolve": "^1.1.7", "@thi.ng/pixel-dominant-colors": "^2.0.11", "@thi.ng/transducers": "^9.6.6", "@thi.ng/vectors": "^8.6.3" }, "devDependencies": { "esbuild": "^0.25.8", "typedoc": "^0.28.9", "typescript": "^5.9.2" }, "keywords": [ "analysis", "area", "color", "contrast", "dominant", "edge", "gradient", "grayscale", "hsv", "hue", "luminance", "mean", "oklch", "rgb", "saturation", "standard-deviation", "statistics", "temperature", "typescript" ], "publishConfig": { "access": "public" }, "browser": { "process": false, "setTimeout": false }, "engines": { "node": ">=18" }, "files": [ "./*.js", "./*.d.ts" ], "exports": { ".": { "default": "./index.js" }, "./analyze-colors": { "default": "./analyze-colors.js" }, "./analyze-features": { "default": "./analyze-features.js" }, "./api": { "default": "./api.js" }, "./hues": { "default": "./hues.js" } }, "thi.ng": { "parent": "@thi.ng/pixel", "status": "beta", "year": 2024 }, "gitHead": "0bcedf8d1dd4f30cd06bb2c668599628f2f0141e\n" }