Skip to content

joshbroton/gulp-tinify

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gulp-tinify

Minify compatible files using TinyPNG's API

Installation

npm install --save-dev gulp-tinify

Usage

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

gulp.task('tinify', function() {
    gulp.src('/img/**/*')
        .pipe(tinify('TinyPNGAPIKey'))
        .pipe(gulp.dest('/dest/img'));
});

You must have a TinyPNG Developer API Key for this to work.

License

MIT © Josh Broton

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published