get-average-color
Advanced tools
Comparing version 0.0.2 to 0.0.3
{ | ||
"name": "get-average-color", | ||
"version": "0.0.2", | ||
"version": "0.0.3", | ||
"description": "Get average color from image in browser environment", | ||
@@ -5,0 +5,0 @@ "main": "lib/index.js", |
@@ -8,3 +8,3 @@ # get-average-color | ||
This package provides a function called getAverageColor, which returns in promise | ||
This package provides a function called `getAverageColor`, which returns in promise | ||
the YUV average color of the image, whose url (or base64) will be passed as a | ||
@@ -18,3 +18,3 @@ parameter. | ||
``` | ||
npm i -S get-average-color | ||
$ npm i -S get-average-color | ||
``` | ||
@@ -31,3 +31,12 @@ | ||
## Demo | ||
Clone this repo, install all dependencies, then start the demo | ||
``` | ||
$ git clone git@github.com:bashkos/get-average-color.git | ||
$ cd get-average-color | ||
$ npm install | ||
$ npm start | ||
``` | ||
## License | ||
MIT. |
551342
40