HazeHash
0.1.1
2026-10-06
- First release: three packages,
hazehash,hazehash-vueandhazehash-nuxt. See Overview. hazehashturns an image into a hash of 16–48 bytes (28 by default) and back into a blurred preview, with the aspect ratio and an optional alpha channel inside. At 28 bytes the mean perceptual error is 49% lower than BlurHash and 20% lower than ThumbHash. See Encoding Images, Decoding Hashes and Benchmark.- Entry points for the decoder (
hazehash,hazehash/decode), the encoder (hazehash/encode), a canvas helper (hazehash/canvas) and Node.js file helpers (hazehash/node, with the optional peersharp). See Drawing to a Canvas and Encoding Files in Node.js. - The
hazehashcommand withencode,decodeandinfo. See Encode Command and Decode and Info Commands. hazehash-vue: thePlaceholderImagecomponent and theusePlaceholder()composable, with server markup that cannot mismatch on hydration. See PlaceholderImage Component and Placeholder State.hazehash-nuxt: a module that registers the component and generates hashes for your images during the build, with a cache by file size and modification time. See Nuxt Module.- The version 1 format will not change: a hash decodes the same way in every future release. The format is documented on Hash Format.