Socket
Socket
Sign inDemoInstall

imagemin-gifsicle

Package Overview
Dependencies
218
Maintainers
2
Versions
17
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    imagemin-gifsicle

gifsicle imagemin plugin


Version published
Weekly downloads
506K
increased by1.95%
Maintainers
2
Created
Weekly downloads
 

Readme

Source

imagemin-gifsicle Build Status Build status

gifsicle imagemin plugin

Install

$ npm install --save imagemin-gifsicle

Usage

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

var imagemin = new Imagemin()
	.src('images/*.gif')
	.dest('build/images')
	.use(gifsicle({ interlaced: true }));

imagemin.run(function (err, files) {
	if (err) {
		throw err;
	}

	console.log('Files optimized successfully!'); 
});

You can also use this plugin with gulp:

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

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

Options

interlaced

Type: Boolean
Default: false

Interlace gif for progressive rendering.

License

MIT © imagemin

Keywords

FAQs

Last updated on 17 Oct 2014

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc