UNPKG

@pioug/colorthief

Version:

Get the dominant color or color palette from an image.

51 lines 1.37 kB
{ "name": "@pioug/colorthief", "version": "4.0.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", "devDependencies": { "chai": "^4.3.7", "chai-as-promised": "^7.1.1", "cypress": "^12.3.0", "http-server": "^14.1.1", "microbundle": "^0.15.1", "mocha": "^10.2.0", "mustache": "^4.2.0" }, "dependencies": { "get-pixels": "npm:@pioug/get-pixels@^5.0.0", "quantize": "npm:@pioug/quantize@^1.2.0" }, "scripts": { "build": "microbundle --no-sourcemap && node ./build/build.js", "watch": "microbundle watch --no-sourcemap", "dev": "http-server", "test": "mocha && http-server --silent & cypress run && pkill http-server", "test:browser": "cypress run", "test:node": "mocha" } }