console-stream

A writable stream that writes to the console

MIT License

Downloads
2.3M
Stars
8
Committers
1

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

MIT Licenced

Package Rankings
Top 3.93% on Npmjs.org
Badges
Extracted from project README
build status browser support