0.1.2 • Published 8 years ago

gulp-gbk-convert v0.1.2

Weekly downloads
-
License
MIT
Repository
-
Last release
8 years ago

gulp-gbk-convert

a plugin for gulp.js to convert file encoding to gbk

Installation

npm install gulp-gbk-convert

Usage

var gulp = require('gulp');
var gbkConvert = require('gulp-gbk-convert');

gulp.task('convert',function() {
    gulp.src("./test.txt")
        .pipe(gbkConvert({
            encNotMatchHandle:function (file) {
                //notify
            }
        }))
        .pipe(gulp.dest('./'));
});