创建项目 koa-generator支持Koa1.x和2.x,安装后,可以分别使用koa和koa2分别创建。 Koa 1.x $ koa helloworld Koa 2.x $ koa2 helloworld