0.1.10 • Published 7 years ago

gulp-mmtrix v0.1.10

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

gulp-mmtrix

Minify image use mmtrix

Install

npm install --save-dev gulp-mmtrix

Example

var gulp = require('gulp');
var mmtrix = require('gulp-mmtrix');
gulp.task('mmtrix', function() {
    var opt = {
        accesskey: accesskey-from-mmtrix,
        securekey: securekey-from-mmtrix,
    }
    gulp.src('your/minify/img/**')
        .pipe(mmtrix(opt, function(data){
            console.log(data)
        }))
        .pipe(gulp.dest('/imagemin/'))
})

It will minify all you img to /imagemin

accesskey and securekey is generate by mmtrix

data is the response from mmtrix

0.1.10

7 years ago

0.1.9

7 years ago

0.1.8

7 years ago

0.1.7

8 years ago

0.1.6

8 years ago

0.1.5

8 years ago

0.1.4

8 years ago

0.1.2

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago