string-stream

A stream that works on a string.

StringStream for node.js

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

npm install string-stream

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

Reads the given n bytes from the stream.

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