Compressor.js Next
Published on Feb 12, 2026, filed under tools, development, javascript, performance, optimization. (Share this post, e.g., on Mastodon.)
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 at various companies (e.g., Google); I’m an active web and tool developer (code optimization, digital defense), a contributor to web standards (like HTML, CSS, WCAG), and a book author (O’Reilly, Frontend Dogma).
I love trying things—in web development and engineering management, but also in politics and philosophy, where I hold to one idea in particular: that we can only be well if we take good care of everyone. Here on meiert.com I talk about some of my perspectives and experiences. (Interpret charitably but be critical—and share feedback and advice that makes my work better.)
