Détail du package

isa-stream

iarna294ISC1.1.3

Ducktype if something is a Node.js compatible stream

isa, ducktype, stream, readable-stream

readme

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.