Socket
Socket
Sign inDemoInstall

gifsickle

Package Overview
Dependencies
343
Maintainers
1
Versions
9
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    gifsickle

a node wrapper for [gifsicle](http://www.lcdf.org/gifsicle/) and [gifsicle-bin](https://github.com/imagemin/gifsicle-bin).


Version published
Maintainers
1
Created

Readme

Source

gifsickle

a node wrapper for gifsicle and gifsicle-bin.

specifically useful for setting delays for individual frames.

install

npm install gifsickle

usage

var gifsickle = require('gifsickle');
var frames = require('glob').sync('*.gif').map(function(path) {
  return { path: path }
});

// set the delay of 0.5s to first frame
frames[0].delay = 50;

gifsickle('foo.gif', [
  frames: frames,
  delay: 15,
}, function() {
  console.log('gif is ready');
});

Keywords

FAQs

Last updated on 11 Jan 2015

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc