UNPKG
huangbaokang
Version:
latest (1.0.2)
1.0.2
huangbaokang's first package
huangbaokang
/
node.js
8 lines
(6 loc)
•
221 B
JavaScript
View Raw
1
2
3
4
5
6
7
8
var
http =
require
(
'http'
); http.
createServer
(
function
(
request,response
){ response.
writeHead
(
200
,{
'Content-Type'
:
'text/plain'
}); response.
end
(
"hello huangbaokang"
); }).
listen
(
8888
);
console
.
log
(
"Server running ...."
);