npm

gulp-gbk-convert

0.1.2 • Public • Published

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('./'));
});

Package Sidebar

Install

npm i gulp-gbk-convert

Weekly Downloads

3

Version

0.1.2

License

MIT

Last publish

Collaborators

  • littleblack