Skip to content

iarna/isa-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

Ducktype if something is a Node.js compatible stream

Resources

License

Stars

Watchers

Forks

Packages