node package manager
Loosely couple your services. Use Orgs to version and reuse your code. Create a free org »

isa-stream

isa-stream

Ducktype stream matching, lets you check objects for stream identity without worrying if they're a Node.js stream object or a readable-stream.

Usage

    var isaStream = require('isa-stream');
 
    if (isaStream.Readable(mystream)) { ... }

Details

Provides Readable, Writable and Duplex matchers.