Created
January 10, 2019 15:17
-
-
Save w7089/3efc33fafbaf9764ff93d2d4e9e14ba4 to your computer and use it in GitHub Desktop.
writable.js
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// const { Writable } = require('stream') | |
// const outStream = new Writable({ | |
// write(chunk, encoding, callback) { | |
// console.log(chunk.toString()); | |
// callback(); | |
// } | |
// }) | |
// process.stdin.pipe(outStream) | |
process.stdin.pipe(process.stdout) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment