Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

bulk-stream

0.1.3 • Public • Published

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

Install

npm i bulk-stream

DownloadsWeekly Downloads

54

Version

0.1.3

License

MIT

Last publish

Collaborators

  • avatar