Back to App
One Library. All Media.

Why
omnicompress

Replace 7 libraries with one. Images. Audio. Video. Browser. Node.

One Install

browser-image-compression
778K/wk
Browser image compression
compressorjs
296K/wk
Browser image compression
jimp
2.25M/wk
Node.js image resize + compress
lamejs
61K/wk
Browser MP3 encoding
heic2any
544K/wk
HEIC → JPEG/PNG conversion
@ffmpeg/ffmpeg
377K/wk
Raw FFmpeg Wasm wrapper
pica
111K/wk
High-quality browser resize
~4.4M
Combined weekly downloads — your potential users

Feature Matrix

Feature omni-compress bic compressorjs sharp jimp lamejs heic2any
Browser ⚠️
Node.js
Web Workers ✅ auto ✅ opt-in
Images
Audio MP3
Video
AVIF output
HEIC input ✅*
AbortSignal
Progress
Zero-copy
Size guard
TypeScript basic basic
License MIT MIT MIT Apache-2 MIT ⚠️ LGPL MIT
Maintained ❌ 3yr ❌ 3yr ❌ 4yr

bic = browser-image-compression  |  * sharp supports HEIC with optional plugin

Quality Proof

40–54%
smaller than JPEG
AVIF at the same visual quality
Source: Google, Cloudflare, Meta
20–33%
smaller than WebP
AVIF vs WebP comparison
Source: Cloudflare blog
5–16%
better JPEG compression
FFmpeg MozJPEG vs Canvas JPEG
Source: Mozilla Research
25%
smaller audio files
Opus 96kbps vs MP3 128kbps
Source: IETF listening tests

Get started

npm install omni-compress