'use strict';

// MODULES //

var Readable = require( 'readable-stream' ).Readable;


// STREAM //

/**
* Readable stream.
*
* @private
* @constructor
* @returns {Stream} Stream instance
*/
function Stream() {
	if ( !(this instanceof Stream) ) {
		return new Stream();
	}
	Readable.call( this );
	this.isTTY = false;
	return this;
}

// Create a prototype which inherits from the parent prototype:
Stream.prototype = Object.create( Readable.prototype );

// Set the constructor:
Stream.prototype.constructor = Stream;

/**
* Implements the `_read` method.
*
* @private
*/
Stream.prototype._read = function _read() {
	// noop
}; // end METHOD _read()


// EXPORTS //

module.exports = Stream;

'use strict';

// MODULES //

var Readable = require( 'stream' ).Readable;


// STREAM //

/**
* Readable stream.
*
* @private
* @constructor
* @returns {Stream} Stream instance
*/
function Stream() {
	if ( !(this instanceof Stream) ) {
		return new Stream();
	}
	Readable.call( this );
	this.isTTY = false;
	return this;
}

// Create a prototype which inherits from the parent prototype:
Stream.prototype = Object.create( Readable.prototype );

// Set the constructor:
Stream.prototype.constructor = Stream;

/**
* Implements the `_read` method.
*
* @private
*/
Stream.prototype._read = function _read() {
	// noop
}; // end METHOD _read()


// EXPORTS //

module.exports = Stream;

Use the built-in stream module
Use the built-in stream module
