0.1.2 • Published 10 years ago

stringsplz v0.1.2

Weekly downloads
3
License
MIT
Repository
-
Last release
10 years ago

stringsplz

A through transform stream that emits it's data.toString()-ed.in the callback. Useful for saving a dozen keystrokes when piping to write streams that expect data to be stringified.

var stringsplz = require('stringsplz');

// works
buffersStream.pipe(stringsplz).pipe(fs.createWriteStream('stringsplz.txt');

// works
objectsStream.pipe(stringsplz).pipe(fs.createWriteStream('stringsplz.txt');