Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

gulp-stripbom

lichunqiang5.6kMIT1.0.5

strip bom of files/string

gulp, plugin, bom, strip, gulpplugin

readme

gulp-stripbom

Version Dependency Status Downloads

This is inspired by strip-bom for gulp.

Usage

var stripBom = require('gulp-stripbom');

gulp.task('default', function(){

    return gulp.src('1.txt')
            .pipe(stripBom())
            .pipe(gulp.dest('dest'));
});

API

stripBom(options)

options.ext

Type: String or Array

Filter files by ext those to process.

options.showLog

Type: Boolean

Default: true

If show log or not.

Test

$ npm test

License

MIT