|
il y a 4 ans | |
---|---|---|
.. | ||
test | il y a 4 ans | |
.npmignore | il y a 4 ans | |
.testem.json | il y a 4 ans | |
.travis.yml | il y a 4 ans | |
LICENCE | il y a 4 ans | |
README.md | il y a 4 ans | |
index.js | il y a 4 ans | |
package.json | il y a 4 ans |
A writable stream that writes to the console
Refactored out of tape
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')
npm install console-stream