JSPM

gulp-optipng

0.0.2
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 109
  • Score
    100M100P100Q79612F
  • License MIT

Lossless compression of PNG images

Package Exports

  • gulp-optipng

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (gulp-optipng) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

gulp-optipng Build Status

Lossless minification of PNG with optipng

*Issues with the output should be reported on the optipng issue tracker

Install

Install with npm

npm install --save-dev gulp-optipng

Example

var gulp = require('gulp');
var optipng = require('gulp-optipng');

var options = ['-o2'];

gulp.task('default', function () {
    gulp.src('src/*.png')
        .pipe(optipng(options))
        .pipe(gulp.dest('dist'));
});

API

optipng(options)

See the optipng options.

License

MIT © Amey Parulekar