Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 785 Bytes

README_CH.md

File metadata and controls

49 lines (33 loc) · 785 Bytes

koa-inventor

交互式快速创建 koa 项目的 CLI 工具 🚀🚀,无需配置即可快速开发。

功能

  1. 交互式创建 Koa 项目
  2. 支持可配置的中间件:
    • koa-static
    • koa-router
    • koa-bodyparser
    • @koa/cors
  3. 支持选择包管理工具(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⭐ 给我,非常感谢!