UNPKG

avecolor

Version:

A lightweight JavaScript utility to extract the average color from any image. Supports HEX or RGB output.

44 lines (43 loc) 1.05 kB
{ "name": "avecolor", "version": "1.1.2", "description": "A lightweight JavaScript utility to extract the average color from any image. Supports HEX or RGB output.", "type": "module", "main": "dist/index.js", "module": "dist/index.js", "types": "dist/index.d.ts", "directories": { "test": "test" }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "build": "tsc", "prepublishOnly": "npm run build" }, "repository": { "type": "git", "url": "git+https://github.com/micodex/npm-avecolor.git" }, "keywords": [ "average-color", "dominant-color", "image-color", "background-color", "auto-theme", "color-extraction", "image-processing", "color-analysis", "rgb", "hex", "shadow-color" ], "author": "\"Milad Gharibi\",", "license": "MIT", "bugs": { "url": "https://github.com/micodex/npm-avecolor/issues" }, "homepage": "https://github.com/micodex/npm-avecolor#readme", "devDependencies": { "typescript": "^5.9.3" } }