Skip to content

Latest commit

 

History

History
13 lines (10 loc) · 333 Bytes

README.md

File metadata and controls

13 lines (10 loc) · 333 Bytes

spa-server

a http server for simple page apps development.
一个用于单页面应用的本地开发服务器。

功能

  1. 支持各种http method:get、post....;
  2. 支持静态资源请求;
  3. 支持url配置,轻松配置任意url,映射到对应的JSON假数据;

安装

npm install spa-server --save

API