1.0.1 • Published 9 years ago

readable-string v1.0.1

Weekly downloads
28
License
-
Repository
github
Last release
9 years ago

Readable String 1.0.1

A simple module that takes an input stream and converts it to a readable stream. This can be used to simplify testing of streams by providing a usable stream with a .pipe method that can be created on the fly and has a known value.

Usage

ReadableString(string, streamOptions)

You can pass stream options as the second argument to ReadableString.

var ReadableString = require("readable-string");

ReadableString("Print to stdout\n", {encoding: "utf8"})
    .pipe(process.stdout);
1.0.1

9 years ago

1.0.0

9 years ago

0.1.1

10 years ago

0.1.0

10 years ago

0.0.2

10 years ago

0.0.1

10 years ago