UNPKG
sync-request
Version:
latest (6.1.0)
6.1.0
6.0.0
5.0.0
4.1.0
4.0.3
4.0.2
4.0.1
4.0.0
3.0.1
3.0.0
2.2.0
2.1.0
2.0.1
2.0.0
1.0.2
1.0.1
1.0.0
Make synchronous web requests
github.com/ForbesLindesay/sync-request
ForbesLindesay/sync-request
sync-request
/
test
/
benchmark-server.js
8 lines
(5 loc)
•
135 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
'use strict'
;
const
http =
require
(
'http'
); http.
createServer
(
function
(
req, res, next
) { res.
end
(
'Hello World'
); }).
listen
(
3045
);