{"repo":"MoussaabBadla/react-shrink","free":true,"listed":false,"github":"https://github.com/MoussaabBadla/react-shrink","clone":"git clone https://github.com/MoussaabBadla/react-shrink.git","description":"Blazing-fast client-side image compression library for React with Web Worker support","language":"TypeScript","stars":27,"topics":["avif","browser","client-side","compression","frontend","heic-converter","image-compression","image-optimization","image-processing","javascript"],"license":"MIT","category":"media-processing","readme_excerpt":"React-Shrink Blazing-fast client-side image compression library for React with Web Worker support Compress images in the browser Reduce file sizes by 70-99% WebP, AVIF, JPEG support Zero dependencies Intelligent image compression engine for React applications. Optimize images client-side before upload with adaptive quality algorithms, Web Worker parallelization, and automatic format selection. Perfect for React, Next.js, and Vite projects. Quick Start · API Docs · Live Examples · Benchmarks --- ✨ Key Features Image Compression & Optimization: - 🚀 Web Worker Compression - Non-blocking, parallel image processing - 🎯 Adaptive Quality - Binary search algorithm meets exact size targets (300KB, 500KB, 1MB) - 🖼️ Modern Image Formats - WebP, AVIF, JPEG with automatic browser fallback - 📉 70-99% Size Reduction - Proven compression ratios from real-world testing Developer Experience: - 📦 Batch Image Processing - Compress multiple images concurrently - 📱 HEIC/HEIF Support - Convert iOS images (iPhone photos) - 🎨 PNG Transparency - Preserves alpha channels automatically - 📊 Upload Progress Tracking - Real-time compression progress callbacks - 🔧 TypeScript First - Complete type definitions and IntelliSense - 🪶 5.8KB Gzipped - Minimal bundle size, zero dependencies - ⚡ React Hooks - Simple useShrink() hook for React integration Production Ready: - ✅ Works with React, Next.js, Vite, Create React App - ✅ Browser image optimization before upload - ✅ Automatic format detection (JPEG,","default_branch":null,"files":null,"tree":[],"storefront":"/r/MoussaabBadla","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/MoussaabBadla/react-shrink/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."}