Writable2
Inspired by the two great through
stream modules (through and through2)
This is a simple way to create a writable
stream
var writable = someReadable
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