{"id":28492711,"url":"https://github.com/lmmmmmm-bb/koa-ts-webpack","last_synced_at":"2026-05-09T06:02:26.020Z","repository":{"id":118259179,"uuid":"437704323","full_name":"Lmmmmmm-bb/koa-ts-webpack","owner":"Lmmmmmm-bb","description":"koa + ts + webpack server template.","archived":false,"fork":false,"pushed_at":"2022-07-27T16:10:03.000Z","size":177,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-09-08T03:46:29.997Z","etag":null,"topics":["koa","koa2","template","typescript","webpack"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Lmmmmmm-bb.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2021-12-13T01:54:14.000Z","updated_at":"2022-10-01T17:06:37.000Z","dependencies_parsed_at":"2023-03-21T22:18:11.890Z","dependency_job_id":null,"html_url":"https://github.com/Lmmmmmm-bb/koa-ts-webpack","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"purl":"pkg:github/Lmmmmmm-bb/koa-ts-webpack","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lmmmmmm-bb%2Fkoa-ts-webpack","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lmmmmmm-bb%2Fkoa-ts-webpack/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lmmmmmm-bb%2Fkoa-ts-webpack/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lmmmmmm-bb%2Fkoa-ts-webpack/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Lmmmmmm-bb","download_url":"https://codeload.github.com/Lmmmmmm-bb/koa-ts-webpack/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Lmmmmmm-bb%2Fkoa-ts-webpack/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32809147,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-08T08:22:46.396Z","status":"online","status_checked_at":"2026-05-09T02:00:06.633Z","response_time":123,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["koa","koa2","template","typescript","webpack"],"created_at":"2025-06-08T08:31:18.153Z","updated_at":"2026-05-09T06:02:26.011Z","avatar_url":"https://github.com/Lmmmmmm-bb.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Koa Ts Webpack 集成模板\n\n![Koa-Ts-Webpack](https://socialify.git.ci/Lmmmmmm-bb/Koa-Ts-Webpack/image?description=1\u0026font=Inter\u0026language=1\u0026pattern=Plus\u0026theme=Light)\n\u003cp align=\"center\"\u003e\n    \u003ca href=\"https://github.com/Lmmmmmm-bb/Koa-Ts-Webpack\"\u003e\u003cimg alt=\"GitHub license\" src=\"https://img.shields.io/github/license/Lmmmmmm-bb/Koa-Ts-Webpack\"\u003e\u003c/a\u003e\n    \u003ca href=\"http://commitizen.github.io/cz-cli/\"\u003e\u003cimg alt=\"Commitizen friendly\" src=\"https://img.shields.io/badge/commitizen-friendly-brightgreen.svg\" /\u003e\u003c/a\u003e\n    \u003ca href=\"https://github.com/Lmmmmmm-bb/Koa-Ts-Webpack/issues\"\u003e\u003cimg alt=\"GitHub license\" src=\"https://img.shields.io/github/issues/Lmmmmmm-bb/Koa-Ts-Webpack\" /\u003e\u003c/a\u003e\n    \u003ca href=\"javascript:;\"\u003e\u003cimg alt=\"GitHub PR\" src=\"https://img.shields.io/badge/PR-Welcome-%2345A2FF\" /\u003e\u003c/a\u003e\n\u003c/p\u003e\n\n## 目录结构\n\n```\n├── .cz-config.js           // 配置 commit 信息引导提示\n├── .editorconfig\n├── .gitignore\n├── .husky                  // hooks 相关文件\n├── .prettierignore\n├── .prettierrc             // 配置代码格式化风格\n├── LICENSE\n├── README.md\n├── commitlint.config.ts    // commit-lint 配置文件\n├── pnpm-lock.yaml\n├── package.json\n├── src\n│   ├── index.ts            // koa 入口文件\n│   ├── models              // 存放模型的文件夹\n│   └── routes              // 存放 koa 路由的文件夹\n├── tsconfig.json\n└── webpack.config.ts       // webpack 配置文件\n```\n\n## 主要模块\n\n- Koa\n- Koa-Router\n- Koa2-Cors\n- Webpack 5\n- Typescript\n\n提供了基础的 Webpack 配置，可以对 Koa + TS 进行打包。\n\n## 代码风格检查和格式化\n\n- prettier\n- lint-staged\n\n配置 `.prettierrc` 来格式化你的代码。\n\n使用 `Prettier` 进行代码风格检查，使用 `husky` 和 `lint-staged` 配置 Git hooks 实现提交前代码格式化工作。\n\n## Commit 信息的规范和检查\n\n- husky\n- commitlint\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmmmmmm-bb%2Fkoa-ts-webpack","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flmmmmmm-bb%2Fkoa-ts-webpack","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flmmmmmm-bb%2Fkoa-ts-webpack/lists"}