updated sys and created publi
This commit is contained in:
+14
@@ -0,0 +1,14 @@
|
||||
'use strict';
|
||||
var firstChunk = require('first-chunk-stream');
|
||||
var stripBom = require('strip-bom');
|
||||
|
||||
module.exports = function () {
|
||||
return firstChunk({chunkLength: 3}, function (err, chunk, enc, cb) {
|
||||
if (err) {
|
||||
cb(err);
|
||||
return;
|
||||
}
|
||||
|
||||
cb(null, stripBom(chunk));
|
||||
});
|
||||
};
|
||||
Reference in New Issue
Block a user