{
	"name": "@thi.ng/pixel-dominant-colors",
	"version": "2.0.46",
	"description": "k-means based dominant color extraction from images/pixel buffers",
	"type": "module",
	"module": "./index.js",
	"typings": "./index.d.ts",
	"sideEffects": false,
	"repository": {
		"type": "git",
		"url": "git+https://codeberg.org/thi.ng/umbrella.git",
		"directory": "packages/pixel-dominant-colors"
	},
	"homepage": "https://thi.ng/pixel-dominant-colors",
	"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": "npm publish --access public",
		"test": "bun test",
		"tool:tangle": "../../node_modules/.bin/tangle src/**/*.ts"
	},
	"dependencies": {
		"@thi.ng/api": "^8.12.25",
		"@thi.ng/k-means": "^2.0.45",
		"@thi.ng/pixel": "^7.5.34",
		"@thi.ng/vectors": "^8.6.35"
	},
	"devDependencies": {
		"esbuild": "^0.28.0",
		"typedoc": "^0.28.19",
		"typescript": "^6.0.3"
	},
	"keywords": [
		"analysis",
		"cluster",
		"color",
		"dominant",
		"image",
		"k-means",
		"mean",
		"median",
		"palette",
		"quantize",
		"typescript"
	],
	"publishConfig": {
		"access": "public"
	},
	"browser": {
		"process": false,
		"setTimeout": false
	},
	"engines": {
		"node": ">=18"
	},
	"files": [
		"./*.js",
		"./*.d.ts"
	],
	"exports": {
		".": {
			"default": "./index.js"
		},
		"./api": {
			"default": "./api.js"
		},
		"./kmeans": {
			"default": "./kmeans.js"
		},
		"./mean-cut": {
			"default": "./mean-cut.js"
		},
		"./utils": {
			"default": "./utils.js"
		}
	},
	"thi.ng": {
		"parent": "@thi.ng/pixel",
		"year": 2021,
		"screenshot": "pixel/dominant-colors-01.jpg"
	},
	"gitHead": "65b041e97110e16c01cf968949b72a0873f14445"
}
