node package manager

console-stream

console-stream

build status

browser support

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

MIT Licenced