console-stream
v0.1.1
Published
A writable stream that writes to the console
Downloads
2,248,399
Readme
console-stream
A writable stream that writes to the console
Refactored out of tape
Example
var ConsoleStream = require("console-stream")
var stream = ConsoleStream()
stream.write("one")
stream.write("two\n")
// console.log('onetwo')
stream.write("three\nfour")
// console.log('three')
stream.end("five")
// console.log('fourfive')
Installation
npm install console-stream
Contributors
- Raynos