mirror of
https://github.com/janishutz/color-thief.git
synced 2025-11-25 05:44:24 +00:00
update for npm publish
This commit is contained in:
28
README.md
28
README.md
@@ -1,13 +1,35 @@
|
|||||||
|
|
||||||
# Color Thief
|
<div id="title" align="center">
|
||||||
|
<h1>ColorThief</h1>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div id="badges" align="center">
|
||||||
|
<img alt="Project License" src="https://img.shields.io/github/license/janishutz/color-thief.svg">
|
||||||
|
<img alt="GitHub Repo size" src="https://img.shields.io/github/repo-size/janishutz/color-thief.svg">
|
||||||
|
<img alt="GitHub Repo issues" src="https://img.shields.io/github/issues-pr-raw/janishutz/color-thief">
|
||||||
|
<img alt="Top Languages" src="https://img.shields.io/github/languages/top/janishutz/color-thief">
|
||||||
|
<img alt="GitHub Repo filecount" src="https://img.shields.io/github/directory-file-count/janishutz/color-thief.svg">
|
||||||
|
<br>
|
||||||
|
<img alt="GitHub Repo stars" src="https://img.shields.io/github/stars/janishutz/color-thief">
|
||||||
|
<img alt="GitHub watchers" src="https://img.shields.io/github/watchers/janishutz/color-thief">
|
||||||
|
<img alt="GitHub forks" src="https://img.shields.io/github/forks/janishutz/color-thief">
|
||||||
|
<img alt="GitHub commit activity" src="https://img.shields.io/github/commit-activity/m/janishutz/color-thief">
|
||||||
|
<br>
|
||||||
|
<img alt="GitHub all releases" src="https://img.shields.io/github/downloads/janishutz/color-thief/total?label=Downloads (total)">
|
||||||
|
<img alt="GitHub release (latest by date)" src="https://img.shields.io/github/downloads/janishutz/color-thief/latest/total?label=Downloads (latest)">
|
||||||
|
<img alt="Latest release" src="https://img.shields.io/github/release/janishutz/color-thief.svg">
|
||||||
|
<img alt="App Version" src="https://img.shields.io/github/package-json/v/janishutz/color-thief.svg?label=Development Version">
|
||||||
|
</div>
|
||||||
|
|
||||||
Grab the color palette from an image using just Javascript.Works in the browser and in Node.
|
Grab the color palette from an image using just Javascript.Works in the browser and in Node.
|
||||||
|
|
||||||
### View the [demo page](https://lokeshdhakar.com/projects/color-thief/) for examples, API docs, and more.
|
Full TypeScript implementation of the package originally created by [@lokesh.dhakar](https://github.com/lokesh/colorthief)
|
||||||
|
|
||||||
|
**View the [demo page](https://janishutz.com/projects/color-thief/) for examples, API docs, and more.**
|
||||||
|
|
||||||
---
|
---
|
||||||
|
|
||||||
## Contributing
|
# Contributing
|
||||||
|
|
||||||
### Project structure
|
### Project structure
|
||||||
|
|
||||||
|
|||||||
16
package.json
16
package.json
@@ -1,12 +1,12 @@
|
|||||||
{
|
{
|
||||||
"name": "colorthief",
|
"name": "@janishutz/colorthief",
|
||||||
"version": "2.4.0",
|
"version": "3.0",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Lokesh Dhakar",
|
"name": "Janis Hutz",
|
||||||
"email": "lokesh.dhakar@gmail.com",
|
"email": "development@janishutz.com",
|
||||||
"url": "http://lokeshdhakar.com/"
|
"url": "https://janishutz.com"
|
||||||
},
|
},
|
||||||
"description": "Get the dominant color or color palette from an image.",
|
"description": "Get the dominant color or color palette from an image. Now including TypeScript",
|
||||||
"keywords": [
|
"keywords": [
|
||||||
"color",
|
"color",
|
||||||
"palette",
|
"palette",
|
||||||
@@ -17,10 +17,10 @@
|
|||||||
"canvas"
|
"canvas"
|
||||||
],
|
],
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"homepage": "http://lokeshdhakar.com/projects/color-thief/",
|
"homepage": "https://lokeshdhakar.com/projects/color-thief/",
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "https://github.com/lokesh/color-thief.git"
|
"url": "https://github.com/janishutz/color-thief.git"
|
||||||
},
|
},
|
||||||
"license": "MIT",
|
"license": "MIT",
|
||||||
"source": "src/color-thief.ts",
|
"source": "src/color-thief.ts",
|
||||||
|
|||||||
Reference in New Issue
Block a user