1.1.3 • Published 5 years ago

isa-stream v1.1.3

Weekly downloads
36
License
ISC
Repository
github
Last release
5 years ago

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.