bh-cli
v2.1.0
Published
CLI to run the BlurHash commands in your terminal.
Downloads
1
Maintainers
Readme
BH CLI (BlurHash Command-Line Interface)
This is a CLI to run BlurHash utility commands in your terminal. This includes encoding image files into a BlurHash string, decoding a BlurHash string into an image file, and validating BlurHash strings.
Installation
$ npm install -g bh-cli
Usage
Encoding an image file to a BlurHash
$ bh encode [options] <image_file>
Decoding a BlurHash string into an image file
$ bh decode [options] <blurhash>
Validating a BlurHash string
$ bh validate <blurhash>
Contributing
Go for it!
Credit
All credit goes to the BlurHash and sharp packages, I just smushed the two together into a CLI.