Js文件服务器
Node.js quick file server (static files over HTTP) - Stack Overflow
A good “ready-to-use tool” option could be http-server:
1 | npm install http-server -g |
To use it:
1 | cd D:\Folder |
Or, like this:
1 | http-server D:\Folder |
Check it out: https://github.com/nodeapps/http-server
serve
1 | npm i -g serve // install |