remove node_modules and .gitignore them
This commit is contained in:
-11
@@ -1,11 +0,0 @@
|
||||
import { Writable } from "stream";
|
||||
export class Collector extends Writable {
|
||||
constructor() {
|
||||
super(...arguments);
|
||||
this.bufferedBytes = [];
|
||||
}
|
||||
_write(chunk, encoding, callback) {
|
||||
this.bufferedBytes.push(chunk);
|
||||
callback();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user