var Stream = require('stream'); // hack to fix a circular dependency issue when used with browserify
exports = module.exports = require('readable-stream/lib/_stream_readable.js');
exports.Stream = Stream;
exports.Readable = exports;
exports.Writable = require('readable-stream/lib/_stream_writable.js');
exports.Duplex = require('readable-stream/lib/_stream_duplex.js');
exports.Transform = require('readable-stream/lib/_stream_transform.js');
exports.PassThrough = require('readable-stream/lib/_stream_passthrough.js');
if (!process.browser && process.env.READABLE_STREAM === 'disable') {
  module.exports = require('stream');
}
