Skip to content

creativeaura/gulp-tinypng

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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