website/node_modules/console-stream/README.md

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

MIT Licenced



JohnCoene/chirp documentation built on May 25, 2021, 6:33 p.m.