const http = require('http') http.get('http://courses.cms.caltech.edu/cs11/', res => { // `res` is a readable stream, so we can print it // by piping it to the standard output res.pipe(process.stdout) })