0.1.2 • Published 9 years ago

writable2 v0.1.2

Weekly downloads
4
License
MIT
Repository
github
Last release
9 years ago

Writable2

Build Status

Inspired by the two great through stream modules (through and through2)

This is a simple way to create a writable stream

var writable = require('writable2')

someReadable.pipe(writable(function (data, enc, next) {
  // do something with `data`
  next()
}))

Usage:

writable(options, write , onFinish)

Will create a standard writable stream which requires all written data to be a string or buffer

writable.obj(options, write , onFinish)

Will create an writable stream in objectMode which means that an object can be written to the stream

writable.ctor(options, write , onFinish)

Will create a constructor for a writable stream with the specified arguments

0.1.2

9 years ago

1.0.2

9 years ago

0.1.1

9 years ago

1.0.1

9 years ago

0.1.0

9 years ago

1.0.0

9 years ago