| 1234567891011121314 |
- const Stream = require('stream');
- const util = require('util');
- function NoopStream() {
- if (!(this instanceof NoopStream)) {
- return new NoopStream();
- }
- Stream.Transform.call(this);
- }
- util.inherits(NoopStream, Stream.Transform);
- NoopStream.prototype._transform = function(d, e, cb) { cb() ;};
- module.exports = NoopStream;
|