Skip to content

Latest commit

 

History

History
42 lines (27 loc) · 832 Bytes

README.md

File metadata and controls

42 lines (27 loc) · 832 Bytes

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