0.3.4 • Published 7 years ago

vibrant-loader v0.3.4

Weekly downloads
1
License
BSD-3-Clause
Repository
-
Last release
7 years ago

vibrant-loader

A web pack loader giving access to the vibrant/dominant colors of images.

header image

You can see it in action here.

returns an object with various swatches, the dimensions & height ratio of the original source file as well as a base64-ed 3x3px version that can be used as stylistic background or placeholder for optimistic image loading.

Usage

  1. install: yarn add vibrant-loader
  2. require: require('vibrant-loader!image.png')

yarn build-example generates a simplistic showcase in example/build

0.3.4

7 years ago

0.3.3

7 years ago

0.3.2

7 years ago

0.3.1

7 years ago

0.3.0

7 years ago

0.2.0

7 years ago