UNPKG
assertvanish
Version:
latest (0.0.3-1)
0.0.3-1
0.0.2-2
0.0.2-1
0.0.1-3
0.0.1-2
0.0.1-1
assert that an object will vanish
github.com/thejh/node-assertvanish
thejh/node-assertvanish
assertvanish
/
request-functionality.js
7 lines
(6 loc)
•
222 B
JavaScript
View Raw
1
2
3
4
5
6
7
var
request =
require
(
'request'
);
request
({
uri
:
'http://www.google.com'
},
function
(
error, response, body
) {
if
(!error && response.
statusCode
==
200
) { sys.
puts
(body)
// Print the google web page.
} })