Skip to content

creativeaura/gulp-tinypng

master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
Apr 11, 2016
Apr 11, 2016
Apr 11, 2016

gulp-tinypng

Minify PNG using tinypng

Install

Install with npm

npm install --save-dev gulp-tinypng

Example

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

gulp.task('tinypng', function () {
	gulp.src('src/**/*.png')
		.pipe(tinypng('API_KEY'))
		.pipe(gulp.dest('compressed_images'));
});

API

tinypng(options)

License

MIT © Gaurav Jassal

About

gulp plugin to compress png images using tinypng api

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published