创建一个 HTTP 服务可以很简单,简单到用 Node.js 官方网站上的几行代码就可以解决。复杂的方法则需要借助很多工具,本章将介绍构造 HTTP Server 常用的工具。
Fast, unopinionated, minimalist web framework
debug
small debugging utility
morgan
HTTP request logger middleware for node.js
Infer the content-type of a request.