{"size": 314, "ext": "js", "max_stars_repo_path": "code-modules/07.js", "max_stars_repo_name": "WangShuan/Node-review", "max_stars_repo_stars_event_min_datetime": "2020-09-04T16:10:56.000Z", "max_stars_repo_stars_event_max_datetime": "2020-09-04T16:19:15.000Z", "max_issues_repo_path": "code-modules/07.js", "max_issues_repo_name": "WangShuan/Node-review", "max_issues_repo_issues_event_min_datetime": null, "max_issues_repo_issues_event_max_datetime": null, "max_forks_repo_path": "code-modules/07.js", "max_forks_repo_name": "WangShuan/Node-review", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": null, "max_forks_count": null, "avg_line_length": 24.1538461538, "max_line_length": 61, "alphanum_fraction": 0.6751592357}
var http = require('http');

var server = http.createServer()

server.on('request',function(req,res){
    //plain 為普通文本, css 為樣式類型, html 為 html code 類型
    res.setHeader('Content-Type','text/plain; charset=utf-8')
    res.end('test 哈哈哈哈哈')
})

server.listen(3000,function(){
    console.log('server is running')
})