first commit
This commit is contained in:
10
build/node_modules/strip-bom-stream/index.js
generated
vendored
Normal file
10
build/node_modules/strip-bom-stream/index.js
generated
vendored
Normal file
@@ -0,0 +1,10 @@
|
||||
'use strict';
|
||||
var firstChunk = require('first-chunk-stream');
|
||||
var stripBom = require('strip-bom');
|
||||
|
||||
module.exports = function () {
|
||||
return firstChunk({minSize: 3}, function (chunk, enc, cb) {
|
||||
this.push(stripBom(chunk));
|
||||
cb();
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user