Socket
Book a DemoInstallSign in
Socket

stream-debug

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stream-debug

Debug streams.

Source
npmnpm
Version
0.0.1
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

stream-debug

Debug streams. Outputs everything they do. Except for content. That might spam your console.

Usage

var debug = require('stream-debug');
var Stream = require('stream');

var stream = new Stream();
debug(stream, 'name');
stream.emit('data', 'foo');
// console.log: [name] data;

API

debug(stream, name)

Debug stream with name. Returns stream so you can do

var stream = debug(new Stream(), 'name');

Installation

With npm do

$ npm install stream-debug

License

(MIT)

Keywords

stream

FAQs

Package last updated on 20 Mar 2013

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts