PATH:
usr
/
local
/
lib
/
node_modules
/
bower
/
lib
/
node_modules
/
bl
/
node_modules
/
readable-stream
/
lib
// a passthrough stream. // basically just the most minimal sort of Transform stream. // Every written chunk gets output as-is. 'use strict'; module.exports = PassThrough; var Transform = require('./_stream_transform'); /*<replacement>*/ var util = require('core-util-is'); util.inherits = require('inherits'); /*</replacement>*/ util.inherits(PassThrough, Transform); function PassThrough(options) { if (!(this instanceof PassThrough)) return new PassThrough(options); Transform.call(this, options); } PassThrough.prototype._transform = function (chunk, encoding, cb) { cb(null, chunk); };
[+]
..
[-] _stream_transform.js
[edit]
[-] _stream_passthrough.js
[edit]
[-] _stream_duplex.js
[edit]
[-] _stream_writable.js
[edit]
[-] _stream_readable.js
[edit]