# 使用 npm 安装 colorthief

查看 colorthief 的安装路径、可执行文件、元数据以及面向 AI 代理工作流的安全说明。

## 安装

```sh
sudo av install npm:colorthief
```

其他安装命令:

### 便携式和语言管理器

- npm (100%):

```sh
npm install -g colorthief
```

  证据: local npm package metadata

## 软件包事实

- **软件包键:** npm:colorthief
- **软件包管理器:** npm
- **软件包管理器页面:** <https://www.npmjs.com/package/colorthief>
- **版本:** 3.5.0
- **来源摘要:** Extract dominant colors and palettes from images — TypeScript, OKLCH, semantic swatches, live video extraction.
- **主页:** <http://lokeshdhakar.com/projects/color-thief/>
- **仓库:** <https://github.com/lokesh/color-thief>
- **上游文档:** <http://lokeshdhakar.com/projects/color-thief/>
- **许可证:** MIT
- **源码归档:** <https://registry.npmjs.org/colorthief/-/colorthief-3.5.0.tgz>
- **问题跟踪器:** <https://github.com/lokesh/color-thief/issues>
- **发布时间:** 2026-08-02T23:24:55.464Z
- **最后更新:** 2026-08-02T23:24:55.464Z
- **已生成:** 2026-08-04T22:13:35+00:00

## 可执行文件

- colorthief (cli)
- colorthief (别名)

## 构建依赖

- @types/node
- chai
- chai-as-promised
- cypress
- http-server
- mocha
- mustache
- sharp
- tsup
- typescript

## 安装行为

- post-install 钩子: 未定义
- Bottle: 不可用

## 版本和新鲜度

- 页面生成时间: 2026-08-04
- 管理器版本: 3.5.0
- 管理器更新时间: 2026-08-02
- 本地数据: OK
- 上游仓库: https://github.com/lokesh/color-thief
- 信息: No cached GitHub release or tag data was available.

## 安全说明

没有找到 colorthief 的匹配本地密钥处理 manifest。软件包元数据仍在此发布，以便未来覆盖拥有稳定的软件包 URL。


## 源数据库详情

- **Source Database:** npm registry
- **Dist Tags:** Latest: 3.5.0
- **Version Count:** 18
- **Maintainers:** lokesh.dhakar
- **Author:** Lokesh Dhakar
- **Publisher:** lokesh.dhakar
- **Peer Dependencies:** sharp
- **Integrity:** sha512-wV/6Rnkqdx07CAuv8O3WYKBU/j5QdSXbYUfGp26seMIqze5Q40C9ovBSZB9PeVV6XkGe3VWb4zUEtQCYzCfyEA==
- **Shasum:** 98b85187e41f69ce9872af57cd7c0f005d2d735f
- **Unpacked Size:** 1,696,040
- **File Count:** 0
- **Created At:** 2017-11-27T02:36:08.549Z
- **Latest Published At:** 2026-08-02T23:24:55.464Z
- **Modified At:** 2026-08-02T23:24:55.626Z

## 其他软件包管理器记录

- Debian apt - python3-colorthief - 0.2.1-2: normalized package name match | Debian stable package indexes: python3-colorthief from https://deb.debian.org/debian/dists/stable/main/binary-amd64/Packages.xz | Python module for extracting color palettes from images | https://github.com/fengsp/color-thief-py


## 相关链接

- [Media and graphics packages](https://pkg.so/zh-hans/media-graphics-tools/) - Matched curated package taxonomy and local package facts.
- [dipc](https://pkg.so/zh-hans/brew/dipc/) - Both packages work with overlapping file formats or content types. Shared terms: cli, color, image, images, media.
- [cwebp-bin](https://pkg.so/zh-hans/npm/cwebp-bin/) - Both packages work with overlapping file formats or content types. Shared terms: cli, image, images, media.
- [image-data-uri](https://pkg.so/zh-hans/npm/image-data-uri/) - Both packages work with overlapping file formats or content types. Shared terms: cli, image, images, media.

## 来源

- pkg.so package database
- package-page enrichment
- package version freshness
- pkgdb category and tag curation
- package relationship graph
- external package-manager database matches
- cross-ecosystem install command graph
