http-server: a command-line http server
2021-04-22 22:29
标签:学习 ons follow you learn tin man ant sim https://github.com/http-party/http-server#readme 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相比, 其没有常用的路由和中间件功能。 但是其确实好用 ,被广泛应用于 测试 、 本地开发 、 学习。 Installation via This will install Now you can visit http://localhost:8080 to view your server http-server: a command-line http server 标签:学习 ons follow you learn tin man ant sim 原文地址:https://www.cnblogs.com/lightsong/p/12241636.htmlhttp-server
http-server
is a simple, zero-configuration command-line http server.安装
Installing globally:
npm
: npm install http-server -g
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.
文章标题:http-server: a command-line http server
文章链接:http://soscw.com/index.php/essay/78275.html