gulp-utf8-convert
v0.0.7
Published
convert file encoding to utf8
Downloads
2,612
Maintainers
Readme
gulp-utf8-convert
a plugin for gulp.js to convert file encoding to utf8
Installation
npm install gulp-utf8-convert
Usage
var gulp = require('gulp');
var utf8Convert = require('gulp-utf8-convert');
gulp.task('convert',function() {
gulp.src("./test.txt")
.pipe(utf8Convert({
encNotMatchHandle:function (file) {
//notify
}
}))
.pipe(gulp.dest('./'));
});