stringsplz

0.1.2 • Public • Published

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');

Package Sidebar

Install

npm i stringsplz

Weekly Downloads

7

Version

0.1.2

License

MIT

Last publish

Collaborators

  • ninegrid