"Fossies" - the Fresh Open Source Software Archive

Member "Atom/resources/app/apm/node_modules/npm/node_modules/readable-stream/readable.js" (11 Apr 2017, 630 Bytes) of package /windows/misc/atom-windows.zip:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) Javascript source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file.

    1 var Stream = (function (){
    2   try {
    3     return require('st' + 'ream'); // hack to fix a circular dependency issue when used with browserify
    4   } catch(_){}
    5 }());
    6 exports = module.exports = require('./lib/_stream_readable.js');
    7 exports.Stream = Stream || exports;
    8 exports.Readable = exports;
    9 exports.Writable = require('./lib/_stream_writable.js');
   10 exports.Duplex = require('./lib/_stream_duplex.js');
   11 exports.Transform = require('./lib/_stream_transform.js');
   12 exports.PassThrough = require('./lib/_stream_passthrough.js');
   13 
   14 if (!process.browser && process.env.READABLE_STREAM === 'disable' && Stream) {
   15   module.exports = Stream;
   16 }