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

/gulp-stripbom/

    Package Sidebar

    Install

    npm i gulp-stripbom

    Weekly Downloads

    773

    Version

    1.0.5

    License

    MIT

    Unpacked Size

    7.08 kB

    Total Files

    5

    Last publish

    Collaborators

    • light