wrapper-stream

0.1.0 • Public • Published

Wrapper stream#

Io.js and nodejs stream wrapper stream. Good companion for coleccionista module.

Usage

let Wrapper = require('wrapper-stream');

let stream = new Wrapper({
    prologue: "This string will be inserted in the begining of the stream",
    epilogue: "This string will be inserted in the end of the stream",
    itemPrologue: "This string will be inserted before every item in the stream",
    itemEpilogue: "This string will be inserted after every item in the stream"
});
// now we can use it like usual stream
stream.pipe(otherStream);

/wrapper-stream/

    Package Sidebar

    Install

    npm i wrapper-stream

    Weekly Downloads

    0

    Version

    0.1.0

    License

    MIT

    Last publish

    Collaborators

    • velocityzen