node package manager
Stop writing boring code. Discover, share, and reuse within your team. Create a free org »

fis3-optimizer-imagemin-pngcrush

fis3-optimizer-imagemin-pngcrush

a image optimizer plugin of fis3 based on imagemin

styled with prettier npm npm npm

packages

all in one https://www.npmjs.com/package/fis3-optimizer-imagemin

standalone https://www.npmjs.com/browse/keyword/fis3-optimizer-imagemin

install

$ npm i -g fis3-optimizer-imagemin-pngcrush

options

default options

notice: this might change in future

{}

more options:

https://www.npmjs.com/package/imagemin-pngcrush

usage

// fis-conf.js
 
var options = {} // your options
 
fis.match('*.png', {
  optimizer: fis.plugin('imagemin-pngcrush', options)
})

links

fis3: http://fis.baidu.com/

imagemin: https://github.com/imagemin/imagemin

imagemin-pngcrush: https://www.npmjs.com/package/imagemin-pngcrush

license

MIT © fisker Cheung