bh-cli

2.1.0 • Public • Published

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.

Package Sidebar

Install

npm i bh-cli

Weekly Downloads

0

Version

2.1.0

License

MIT

Unpacked Size

5.72 kB

Total Files

7

Last publish

Collaborators

  • wrathfulweasel