buraha
v0.0.1
Published
**B**l**ur**"Yet **A**nother"**Ha**sh — A performance enhanced version of the BlurHash decoder at the expense of visual integrity.
Downloads
9,957
Readme
Buraha
Blur"Yet Another"Hash — A performance enhanced version of the BlurHash decoder at the expense of visual integrity.
In-browser Benchmark is available
| Buraha | BlurHash | |-|-| | | | | | | | | | | | |
Usage
The API is provided only for decoding on the browser. You can use BlurHash's library to encode it.
Installation
npm install buraha
API
export function render(source: string, target: HTMLCanvasElement | OffscreenCanvas, punch?: number): void;