gulp-tinypng

gulp plugin to compress png images using tinypng api

Downloads in past

Stats

StarsIssuesVersionUpdatedCreatedSize
gulp-tinypng
1.0.210 years ago10 years agoMinified + gzip package size for gulp-tinypng in KB

Readme

gulp-tinypng
Minify PNG using tinypng

Install

Install with npm
npm install --save-dev gulp-tinypng

Example

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

gulp.task('tinypng', function () {
	gulp.src('src/image.png')
		.pipe(tingpng('API_KEY'))
		.pipe(gulp.dest('dist'));
});

API

tinypng(options)

License

MIT © Gaurav Jassal