0.0.7 • Published 11 years ago

string-stream v0.0.7

Weekly downloads
624
License
-
Repository
github
Last release
11 years ago

StringStream for node.js

This package provides classes to work with strings in a streaming way.

Installation

npm install string-stream

Api

Readable()

Implements a readable stream interface to a string or a buffer.

Readable.read(n:Number)

Reads the given n bytes from the stream.

Readable.pipe(dest:Buffer)

Not quite sure if it is necessary to implement the pipe method. But the piping with the core method doesn't work.