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.

Dependencies (0)

    Dev Dependencies (2)

    Package Sidebar

    Install

    npm i isa-stream

    Weekly Downloads

    26

    Version

    1.1.3

    License

    ISC

    Unpacked Size

    2.35 kB

    Total Files

    4

    Last publish

    Collaborators

    • iarna