Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

gifsicle-stream

oohnoitz14.6kBSD1.0.0

The gifsicle command line utility as a readable/writable stream.

gifsicle, gif, image, optimization, stream

readme

node-gifsicle-stream

NPM Version Build Status

The gifsicle command line utility as a readable/writable stream. Based heavily on node-jpegtran which is written by papandreou.

Installation

$ npm install gifsicle-stream

Usage

The constructor accepts an optional array of command line options for the gifsicle binary:

var Gifsicle = require('gifsicle-stream'),
  gifProcessor = new Gifsicle(['-w', '-O3']);

readStream.pipe(gifProcessor).pipe(writeStream);