{"repo":"jamsinclair/jSquash","free":true,"listed":false,"github":"https://github.com/jamsinclair/jSquash","clone":"git clone https://github.com/jamsinclair/jSquash.git","description":"Browser & Web Worker focussed image codec wasm bundles derived from the Squoosh App.","language":"TypeScript","stars":718,"topics":["image","image-codec","image-codecs","image-processing","wasm","web-assembly","webassembly","avif","image-decoder","image-encoder"],"license":"Apache-2.0","category":"media-processing","readme_excerpt":"jSquash 🥝 Collection of WebAssembly image codecs that support the browser and are derived from the Squoosh App The aim of this library is to provide an easy experience to encode, decode and modify images with the tools you know and love from Squoosh in the Browser and Web Worker environments. jSquash name is inspired by jQuery and Squoosh. It symbolizes the browser support focus of these packages. ⚠️ There is limited support for Node.js environments. The experimental Node.js support is provided for convenience and is not the primary focus of this project. For much better Node based alternatives please check out the Squoosh Node.js library and Sharp. Differences with Squoosh - The codecs and tools are built for both Web and Web Worker environments - No dynamic code execution, the packages can be run in strict environments that do not allow code evaluation. Like Cloudflare Workers. - Does not rely on TextEncoder/TextDecoder API (could reduce performance) but allows it to be run in simpler V8 runtimes that only support UTF-8 (Cloudflare Workers, Vercel Edge Functions etc.) Packages - @jSquash/avif - An encoder and decoder for AVIF images using the libavif library - @jSquash/jpeg - An encoder and decoder for JPEG images using the MozJPEG library - @jSquash/jxl - An encoder and decoder for JPEG XL images using the libjxl library - @jSquash/oxipng - A PNG image optimiser using Oxipng - @jSquash/png - An encoder and decoder for PNG images using the rust PNG crate - @jSquash/qoi - A","default_branch":null,"files":null,"tree":[],"storefront":"/r/jamsinclair","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/jamsinclair/jSquash/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}