JSPM

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

gifsicle imagemin plugin

Package Exports

  • imagemin-gifsicle

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 (imagemin-gifsicle) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

imagemin-gifsicle Build Status Build status

gifsicle imagemin plugin

Install

$ npm install --save imagemin-gifsicle

Usage

var Imagemin = require('imagemin');
var imageminGifsicle = require('imagemin-gifsicle');

new Imagemin()
    .src('images/*.gif')
    .dest('build/images')
    .use(imageminGifsicle({interlaced: true}))
    .run();

You can also use this plugin with gulp:

var gulp = require('gulp');
var imageminGifsicle = require('imagemin-gifsicle');

gulp.task('default', function () {
    return gulp.src('images/*.gif')
        .pipe(imageminGifsicle({interlaced: true})())
        .pipe(gulp.dest('build/images'));
});

API

imageminGifsicle(options)

options.interlaced

Type: boolean
Default: false

Interlace gif for progressive rendering.

License

MIT © imagemin