Compressor.js Next
Published on Feb 12, 2026, filed under tools, development, javascript, performance, optimization. (Share this post, e.g. on Mastodon or on Bluesky.)
Compressor.js is a JavaScript image compressor and converter originally made by Chen Fengyuan.
There’s now a modernized, optimized, and maintained fork available with Compressor.js Next—check the demo for what it does and the docs for how you could use it.
I worked on providing Compressor.js Next after Compressor.js hadn’t been updated in three years and when I couldn’t reach Chen to confirm their plans. In line with the license, patching up the project seemed useful.
If you’ve been using Compressor.js and want to upgrade, this is straightforward: Install compressorjs-next instead of compressorjs.
And that’s it—just know that as part of the modernization, ESM is now the default module format (CommonJS is still supported), the noConflict() method has been removed, and Internet Explorer is no longer supported.
About Me
I’m Jens (long: Jens Oliver Meiert), and I’m an engineering lead, guerrilla philosopher, and indie publisher. I’ve worked as a technical lead and engineering manager for companies you use every day (like Google) and companies you’ve never heard of, I’m an occasional contributor to web standards (like HTML, CSS, WCAG), and I write and review books for O’Reilly and Frontend Dogma.
I love trying things, not only in web development and engineering management, but also with respect to politics and philosophy. Here on meiert.com I talk about some of my experiences and perspectives. (Please share feedback: Interpret charitably, but do be critical.)
