0.1.10 • Published 8 years ago

gulp-mmtrix v0.1.10

Weekly downloads
1
License
MIT
Repository
github
Last release
8 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

8 years ago

0.1.9

8 years ago

0.1.8

8 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