Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

gulp-stripbom

1.0.5 • Public • Published

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

Install

npm i gulp-stripbom

DownloadsWeekly Downloads

1,016

Version

1.0.5

License

MIT

Unpacked Size

7.08 kB

Total Files

5

Last publish

Collaborators

  • avatar