JSPM

vibrant-colors

1.0.4
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 10
  • Score
    100M100P100Q36846F
  • License MIT

A CLI for getting vibrant colors from an image using node-vibrant.

Package Exports

  • vibrant-colors

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (vibrant-colors) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Vibrant Colors

A CLI for getting vibrant colors from an image using node-vibrant.

Preview

Usage

# install it globally
npm i -g vibrant-colors
vibrant-colors my-photo.jpg

# or try it with npx
npx vibrant-colors my-photo.jpg

Options

See vibrant-colors --help:

Usage: index [options] <file>

Options:
  -V, --version          output the version number
  -q, --quality <n>      Quality: Scale down factor used in downsampling stage. 1 means no downsampling.
                         If maxDimension is set, this value will not be used. Default: 5.
  -c, --color-count <n>  Color count: amount of colors in initial palette from which the swatches will be generated. Default: 64
  -h, --help             output usage information