Last active
April 3, 2017 23:26
-
-
Save esayler/a4f791d72fa4597dac85106786f3b2f7 to your computer and use it in GitHub Desktop.
request stream
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
request | |
.get(url) | |
.pipe(fs.createWriteStream(path)) | |
.on('close', callback) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment