@zhxi/ss
v0.0.3
Published
static resource server
Downloads
3
Readme
轻量级的资源服务器
安装
npm install @zhxi/ss -g
使用
$ ss
🚀 Server runing http://127.0.0.1:5000
选项
$ ss -p 3000
🚀 Server runing http://127.0.0.1:3000
/**
* {
* port: 3000,
* dir: '/Users/username/workspace/static',
* timeout: 1000 // ms
* }
*/
$ ss -c config.js
🚀 Server runing http://127.0.0.1:5000