1.0.10 • Published 6 years ago

koa-start v1.0.10

Weekly downloads
1
License
ISC
Repository
github
Last release
6 years ago

快速启动node server

使用系统: Mac

1. 安装

npm i -g koa-start

2. 设置环境变量

echo "export PATH=\$PATH:~/bin/" >> ~/.bash_profile
source ~/.bash_profile

3. 设置软链

rm -rf ~/bin/koa-start
ln -s /usr/local/lib/node_modules/koa-start ~/bin/koa-start

4. 启动server

koa-start [-p] [-n]

参数说明

参数含义默认值
-p启用端口8080
-n当前目录下模板文件htmlindex.html

持续更新中,欢迎提issue

1.0.10

6 years ago

1.0.9

6 years ago

1.0.8

6 years ago

1.0.7

6 years ago

1.0.6

6 years ago

1.0.5

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago