Sign Up for Free

RunKit +

Try any Node.js package right in your browser

This is a playground to test code. It runs a full Node.js environment and already has all of npm’s 400,000 packages pre-installed, including gulp-stripbom with all npm packages installed. Try it out:

var gulpStripbom = require("gulp-stripbom")

This service is provided by RunKit and is not affiliated with npm, Inc or the package authors.

gulp-stripbom v1.0.5

strip bom of files/string

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

RunKit is a free, in-browser JavaScript dev environment for prototyping Node.js code, with every npm package installed. Sign up to share your code.
Sign Up for Free