gulp-tinypng

1.0.2 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i gulp-tinypng

Weekly Downloads

172

Version

1.0.2

License

MIT

Last publish

Collaborators

  • creativeaura