{ "name": "colorthief", "version": "2.4.0", "author": { "name": "Lokesh Dhakar", "email": "lokesh.dhakar@gmail.com", "url": "http://lokeshdhakar.com/" }, "description": "Get the dominant color or color palette from an image.", "keywords": [ "color", "palette", "sampling", "image", "picture", "photo", "canvas" ], "homepage": "http://lokeshdhakar.com/projects/color-thief/", "repository": { "type": "git", "url": "https://github.com/lokesh/color-thief.git" }, "license": "MIT", "source": "src/color-thief.js", "main": "dist/color-thief.js", "module": "dist/color-thief.mjs", "umd:main": "dist/color-thief.umd.js", "amdName": "ColorThief", "scripts": { "build": "microbundle --no-sourcemap && node ./build/build.js", "watch": "microbundle watch --no-sourcemap", "dev": "http-server", "test": "mocha && cypress run --config video=false", "test:browser": "./node_modules/.bin/cypress run --headed --browser chrome", "test:node": "mocha", "cypress": "./node_modules/.bin/cypress open", "lint": "eslint ./src && prettier ./src" }, "devDependencies": { "@stylistic/eslint-plugin": "^2.3.0", "cypress": "^13.12.0", "eslint": "^8.40.0" }, "dependencies": { "@lokesh.dhakar/quantize": "^1.3.0", "ndarray-pixels": "^4.1.0" } }