GoogleChromeLabs/squoosh

Release codecs on NPM

Open

#280 opened on Nov 13, 2018

View on GitHub
 (10 comments) (55 reactions) (1 assignee)TypeScript (20,335 stars) (1,431 forks)batch import
codecgood first issuehelp wanted

Description

Hi,

do you consider releasing the codecs ( optiping / mozjpeg ...) as npm packages ? I've tried to build them myself in the past but failed to do so.

I use imagemin in my toolbelt to compress images at build time, but as it relies on binaries downloaded on install, it's very painful on a corporate environment without internet access on build machines.

I'm pretty sure more people than just me would be interested in such a feature : https://github.com/imagemin/optipng-bin/issues/71

Contributor guide