node-dominant-color

1.0.0 • Public • Published

Dominant Color

dominant-color is an easy to use, accurate and blazing fast ES6 library that helps you get the dominant color of an image.

Installation

npm install node-dominant-color

Usage

const dominant = require('node-dominant-color')
console.log(dominant(buffer)) // #FF0000

/node-dominant-color/

    Package Sidebar

    Install

    npm i node-dominant-color

    Weekly Downloads

    1

    Version

    1.0.0

    License

    ISC

    Unpacked Size

    2.17 kB

    Total Files

    4

    Last publish

    Collaborators

    • soumil07