Created
November 7, 2018 15:45
-
-
Save bmeck/e078cac0fd252bd0a7ff0d7a6355a9b0 to your computer and use it in GitHub Desktop.
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
'use strict'; | |
require('http').createServer( | |
(req, res) => { | |
require('fs').createReadStream('/dev/random').pipe(res); | |
} | |
).listen(8080); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment