readable-stream-browser.js 441 B

12345678910
  1. "use strict";
  2. /*
  3. * This file is used by module bundlers (browserify/webpack/etc) when
  4. * including a stream implementation. We use "readable-stream" to get a
  5. * consistent behavior between nodejs versions but bundlers often have a shim
  6. * for "stream". Using this shim greatly improve the compatibility and greatly
  7. * reduce the final size of the bundle (only one stream implementation, not
  8. * two).
  9. */
  10. module.exports = require("stream");