fastic
1.0.0
快速且轻巧的HTTP服务器,这只是可行的。可以通过CLI访问。
npm install --global fastic您也可以使用npx :
npx fastic Usage
$ fastic < options >
Options
--port, -p Port on which the server will be running (default: 5050)
--directory, -d Directory from which the server will be running (default: current path)
--open, -o Open server address in browser ? (default: false)
--log, -l Log HTTP requests & response status codes (default: false)
Examples
$ fastic
$ fastic -p 8080 -d dist --open
$ fastic --port 3000 --log麻省理工学院