TracyYangg / static-server-module

node手写http静态文件服务器,支持命令行运行、自动缓存

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

static-server-module

node手写http静态文件服务器,支持命令行运行、自动缓存

git clone https://github.com/ITrokie/static-server-module.git

cd static-server-module

//安装依赖
npm i

// 本地引用模块
npm link

// 运行静态文件服务器
static-server

// 命令行参数参考
static-server -h

About

node手写http静态文件服务器,支持命令行运行、自动缓存


Languages

Language:JavaScript 86.4%Language:HTML 13.6%