Zopflipng wrapper that makes it seamlessly available as a local dependency on OS X, Linux

npm install zopflipng-bin
4 downloads in the last day
54 downloads in the last week
179 downloads in the last month



zopflipng (part of zopfli) Node.js wrapper that optimize PNG images.

Zopfli Compression Algorithm is a new zlib (gzip, deflate) compatible compressor. This compressor takes more time (~100x slower), but compresses around 5% better than zlib and better than any other zlib-compatible compressor we have found.

Build Status NPM version Dependency Status devDependency Status



$ npm install -g zopflipng-bin

Usage with Node.js

var execFile = require('child_process').execFile;
var zopflipngPath = require('zopflipng-bin').path;

execFile(zopflipngPath, ['-m', '--lossy_8bit', 'dest.png'], function() {
  console.log('Image minified');


This is MIT. zopfli is licensed under Apache License, Version 2.0.

npm loves you