2014-11-22 16:59:48 +01:00
|
|
|
'use strict';
|
|
|
|
|
2016-08-09 17:34:23 +02:00
|
|
|
// Note: export Stream before Readable/Writable/Duplex/...
|
|
|
|
// to avoid a cross-reference(require) issues
|
|
|
|
const Stream = module.exports = require('internal/streams/legacy');
|
2012-10-03 00:44:50 +02:00
|
|
|
|
|
|
|
Stream.Readable = require('_stream_readable');
|
|
|
|
Stream.Writable = require('_stream_writable');
|
|
|
|
Stream.Duplex = require('_stream_duplex');
|
|
|
|
Stream.Transform = require('_stream_transform');
|
|
|
|
Stream.PassThrough = require('_stream_passthrough');
|
|
|
|
|
2011-10-24 23:52:10 +02:00
|
|
|
// Backwards-compat with node 0.4.x
|
|
|
|
Stream.Stream = Stream;
|