readable.js 560 B

1234567891011
  1. var Stream = require('stream'); // hack to fix a circular dependency issue when used with browserify
  2. exports = module.exports = require('./lib/_stream_readable.js');
  3. exports.Stream = Stream;
  4. exports.Readable = exports;
  5. exports.Writable = require('./lib/_stream_writable.js');
  6. exports.Duplex = require('./lib/_stream_duplex.js');
  7. exports.Transform = require('./lib/_stream_transform.js');
  8. exports.PassThrough = require('./lib/_stream_passthrough.js');
  9. if (!process.browser && process.env.READABLE_STREAM === 'disable') {
  10. module.exports = require('stream');
  11. }