mirror of
https://github.com/titanscouting/tra-analysis.git
synced 2024-12-30 18:59:10 +00:00
12 lines
560 B
JavaScript
12 lines
560 B
JavaScript
|
var Stream = require('stream'); // hack to fix a circular dependency issue when used with browserify
|
||
|
exports = module.exports = require('./lib/_stream_readable.js');
|
||
|
exports.Stream = Stream;
|
||
|
exports.Readable = exports;
|
||
|
exports.Writable = require('./lib/_stream_writable.js');
|
||
|
exports.Duplex = require('./lib/_stream_duplex.js');
|
||
|
exports.Transform = require('./lib/_stream_transform.js');
|
||
|
exports.PassThrough = require('./lib/_stream_passthrough.js');
|
||
|
if (!process.browser && process.env.READABLE_STREAM === 'disable') {
|
||
|
module.exports = require('stream');
|
||
|
}
|