交互式快速创建
koa
项目的 CLI 工具 🚀🚀,无需配置即可快速开发。
- 交互式创建
Koa
项目 - 支持可配置的中间件:
- koa-static
- koa-router
- koa-bodyparser
- @koa/cors
- 支持选择包管理工具(npm、yarn、pnpm)
npm install koa-inventor -g
请确保您可以全局使用 prettier
,如果 prettier
没有全局安装在您的计算机上,使用以下命令:
npm install prettier -g
- 创建项目
koa-inventor create
- 创建模块
koa-inventor gm [moduleName]
- 帮助
koa-inventor -h
如果本项目帮助到你的话,请点个 star⭐ 给我,非常感谢!