UNPKG

simple-koa2-cli

Version:
38 lines (22 loc) 691 B
# simple-koa2-cli A simple CLI for scaffolding koa2.js projects. ### Installation Prerequisites: [Node.js](https://nodejs.org/en/) (>=6.x, 8.x preferred), npm version 3+ and [Git](https://git-scm.com/). ``` bash $ npm install -g simple-koa2-cli ``` ### Usage ``` bash $ koa2-cli init <project-name> ``` Example: ``` bash $ koa2-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)