lib/streams/string-readable-stream.js
function StringReadableStream(str, options) {
	if(!options) options = {};
	delete options.objectMode;
	delete options.readableObjectMode;
	Readable.call(this, options);
	this._currentString = str;
	this._currentStringPos = 0;
	this._stringChunkSize = options.chunkSize || 1024;
}
function StringReadableStream(str, options) {
	if(!options) options = {};
	delete options.objectMode;
	delete options.readableObjectMode;
	Readable.call(this, options);
	this._currentString = str;
	this._currentStringPos = 0;
	this._stringChunkSize = options.chunkSize || 1024;
}
function StringReadableStream ( str , options ) { if ( ! options ) options = { } ; delete options . objectMode ; delete options . readableObjectMode ; Readable . call ( this , options ) ; this . _currentString = str ; this . _currentStringPos = 0 ; this . _stringChunkSize = options . chunkSize || 1024 ; }
A readable string that outputs data from a string given to the constructor.

@class StringReadableStream
@constructor
@param {String|Buffer} str - The string to output to the stream
@param {Object} options - Options for the stream
@param {Number} options.chunkSize - The size of chunk to output to the stream, defaults to 1024
A readable string that outputs data from a string given to the constructor .