Skip to content

simov/bulk-stream

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

bulk-stream

A combined-stream like module using Streams2:

var BulkStream = require('bulk-stream')

var bs = new BulkStream()
bs.append('wqw')
bs.append('\r\n')
bs.append(fs.createReadStream('cat.png'))
bs.append('\r\n')
bs.append(Buffer('poop'))

You can access the appended items through:

// array containing all appended items (including streams)
bs._items

About

A stream that emits multiple other streams and chunks one after another

Resources

License

Stars

Watchers

Forks

Packages

No packages published