0.1.1 • Published 4 years ago

@saeris/isomorphic-vibrant v0.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
4 years ago

🚧 Under Construction

Warning: This library is still under construction! A pre-release version is available for testing only. Expect things to be broken. The below documentation is both incomplete and subject to change.

📦 Installation

npm install --save @saeris/isomorphic-vibrant
# or
yarn add @saeris/isomorphic-vibrant

🔧 Usage

import { Vibrant } from "@saeris/isomorphic-vibrant"

const vibrant = new Vibrant(`url/to/image.png`, { colorCount: 64 })
console.log(await vibrant.getPalette())

📣 Acknowledgements

This library was forked from node-vibrant.

🥂 License

Released under the MIT license.