UNPKG

koa-spring-cli

Version:
38 lines (22 loc) 675 B
# koa-spring-cli A simple CLI for scaffolding koa2.js projects like SpringMvc. ### Installation Prerequisites: [Node.js](https://nodejs.org/en/) (>=10.x preferred), npm version 6+ and [Git](https://git-scm.com/). ``` bash $ npm install -g koa-spring-cli ``` ### Usage ``` bash $ koa-spring-cli init <project-name> ``` Example: ``` bash $ koa-spring-cli init my-project ``` The above command generates the project at `./my-project/`. ### Doc It is recommended to read the [official documents of koa](https://koa.bootcss.com/) first. ### Local Templates Instead of a GitHub repo, just use the local template ### License [ISC](http://opensource.org/licenses/ISC)