Feuerwehr-eppingen/node_modules/console-stream
2020-06-04 13:20:10 +02:00
..
test Umzug auf Synology NAS 2020-06-04 13:20:10 +02:00
.npmignore Umzug auf Synology NAS 2020-06-04 13:20:10 +02:00
.testem.json Umzug auf Synology NAS 2020-06-04 13:20:10 +02:00
.travis.yml Umzug auf Synology NAS 2020-06-04 13:20:10 +02:00
index.js Umzug auf Synology NAS 2020-06-04 13:20:10 +02:00
LICENCE Umzug auf Synology NAS 2020-06-04 13:20:10 +02:00
package.json Umzug auf Synology NAS 2020-06-04 13:20:10 +02:00
README.md Umzug auf Synology NAS 2020-06-04 13:20:10 +02:00

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