No description, website, or topics provided.
JavaScript
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
example
.gitignore
LICENCE
README.md
index.js
package.json

README.md

mux-demux-logger

Intercept mdm streams and log them

Example

Intercept mux-demux data and log it to console.log

var MuxDemux = require("mux-demux-net")
    , logger = require("..")

MuxDemux(logger(function (stream) {
    stream.on("data", function (data) {
        stream.write("echo" + data)
    })
}), 8642)

Installation

npm install mux-demux-logger

Contributors

  • Raynos

MIT Licenced