From aab562b0de8f7862d53b9ae34b51d4cca045fe50 Mon Sep 17 00:00:00 2001 From: Janis Hutz Date: Mon, 26 Aug 2024 11:01:26 +0200 Subject: [PATCH] update for npm publish --- README.md | 28 +++++++++++++++++++++++++--- package.json | 16 ++++++++-------- 2 files changed, 33 insertions(+), 11 deletions(-) diff --git a/README.md b/README.md index 73a0b11..ab31d90 100644 --- a/README.md +++ b/README.md @@ -1,13 +1,35 @@ -# Color Thief +
+

ColorThief

+
+ +
+ Project License + GitHub Repo size + GitHub Repo issues + Top Languages + GitHub Repo filecount +
+ GitHub Repo stars + GitHub watchers + GitHub forks + GitHub commit activity +
+ GitHub all releases + GitHub release (latest by date) + Latest release + App Version +
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 diff --git a/package.json b/package.json index 1d15c02..0dc52c8 100644 --- a/package.json +++ b/package.json @@ -1,12 +1,12 @@ { - "name": "colorthief", - "version": "2.4.0", + "name": "@janishutz/colorthief", + "version": "3.0", "author": { - "name": "Lokesh Dhakar", - "email": "lokesh.dhakar@gmail.com", - "url": "http://lokeshdhakar.com/" + "name": "Janis Hutz", + "email": "development@janishutz.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": [ "color", "palette", @@ -17,10 +17,10 @@ "canvas" ], "type": "module", - "homepage": "http://lokeshdhakar.com/projects/color-thief/", + "homepage": "https://lokeshdhakar.com/projects/color-thief/", "repository": { "type": "git", - "url": "https://github.com/lokesh/color-thief.git" + "url": "https://github.com/janishutz/color-thief.git" }, "license": "MIT", "source": "src/color-thief.ts",