and learning. 一款好用的nodejs平台的http服务器
标签:
http-serverhttps://github.com/http-party/http-server#readme
http-server is a simple, zero-configuration command-line http server.
It is powerful enough for production usage, but it‘s simple and hackable enough to be used for testing, local development, and learning.
一款好用的nodejs平台的http处事器,成果简单,但是无需配置。
与成熟的express对比, 其没有常用的路由和中间件成果。
但是其确实好用 ,被广泛应用于 测试 、 本地开发 、 学习。
安置 Installing globally:Installation via npm:
npm install http-server -gThis will install http-server globally so that it may be run from the command line.
Usage: http-server [path] [options][path] defaults to ./public if the folder exists, and ./ otherwise.
Now you can visit :8080 to view your server
http-server: a command-line http server
,温馨提示: 本文由Jm博客推荐,转载请保留链接: https://www.jmwww.net/file/web/30892.html
- 上一篇:并要求释放连接
- 下一篇:vue + typespript + webpack
