g-http-server

1.1.0 • Public • Published

g-http-server

仿 http-server

1.开发

    npm install
    nodemon

2.使用

g-http-server -p 3000 
#
ghs -p 3000 

3.mock 数据

curl -X POST -d name=test\&\age=18 http://localhost:3000/mock/user\?id\=\1\&\a\=\2

Readme

Keywords

none

Package Sidebar

Install

npm i g-http-server

Weekly Downloads

4

Version

1.1.0

License

MIT

Unpacked Size

22.6 kB

Total Files

11

Last publish

Collaborators

  • lotosv2010