Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
A function that pipes streams
JavaScript
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
example
.gitignore
LICENCE
Makefile
README.md
index.js
package.json

README.md

pipe-stream

A function that pipes streams

Example

var net = require("net")
    , piper = require("pipe-stream")
    , through = require("through")

net.createServer(piper(through)).listen(12632, function () {
    var conn = net.connect(12632)

    conn.on("data", function (data) {
        console.log("[CLIENT]", data.toString())
    })

    conn.write("self")
})

Installation

npm install pipe-stream

Contributors

  • Raynos

MIT Licenced

Something went wrong with that request. Please try again.