backoffice/node_modules/console-stream
root ab9f8bb658 first commit 2020-02-06 10:09:39 +00:00
..
test first commit 2020-02-06 10:09:39 +00:00
.npmignore first commit 2020-02-06 10:09:39 +00:00
.testem.json first commit 2020-02-06 10:09:39 +00:00
.travis.yml first commit 2020-02-06 10:09:39 +00:00
LICENCE first commit 2020-02-06 10:09:39 +00:00
README.md first commit 2020-02-06 10:09:39 +00:00
index.js first commit 2020-02-06 10:09:39 +00:00
package.json first commit 2020-02-06 10:09:39 +00:00

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

  • Raynos

MIT Licenced