isa-stream

1.1.3 • Public • Published

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.

Package Sidebar

Install

npm i isa-stream

Weekly Downloads

21

Version

1.1.3

License

ISC

Unpacked Size

2.35 kB

Total Files

4

Last publish

Collaborators

  • iarna