{"id":16582711,"url":"https://github.com/nodejh/koa-init","last_synced_at":"2025-10-08T06:59:55.266Z","repository":{"id":90786519,"uuid":"88857017","full_name":"nodejh/koa-init","owner":"nodejh","description":"Initial koa project","archived":false,"fork":false,"pushed_at":"2018-06-16T10:01:15.000Z","size":9,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-06T16:05:00.111Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nodejh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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}},"created_at":"2017-04-20T11:15:44.000Z","updated_at":"2018-06-16T10:01:16.000Z","dependencies_parsed_at":null,"dependency_job_id":"1c6c8de4-11a5-4973-b2c8-8d0b619b5da2","html_url":"https://github.com/nodejh/koa-init","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/nodejh/koa-init","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodejh%2Fkoa-init","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodejh%2Fkoa-init/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodejh%2Fkoa-init/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodejh%2Fkoa-init/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nodejh","download_url":"https://codeload.github.com/nodejh/koa-init/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nodejh%2Fkoa-init/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":263932017,"owners_count":23531707,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":[],"created_at":"2024-10-11T22:33:50.578Z","updated_at":"2025-10-08T06:59:50.230Z","avatar_url":"https://github.com/nodejh.png","language":"JavaScript","readme":"## 初始化 koa 项目\n\n1. koa版本为koa2\n2. 使用 koa-static 加载静态文件\n3. 使用 koa-views 渲染模板，模板引擎使用 ejs\n4. 使用 koa-logger 记录日志\n5. 使用 koa-bodyparser 解析 HTTP body\n6. 使用 koa-router 管理路由\n\n## ESLINT \n\nhttps://www.npmjs.com/package/eslint-config-airbnb\n\n```\n(\n  export PKG=eslint-config-airbnb;\n  npm info \"$PKG@latest\" peerDependencies --json | command sed 's/[\\{\\},]//g ; s/: /@/g' | xargs npm install --save-dev \"$PKG@latest\"\n)\n```","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodejh%2Fkoa-init","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnodejh%2Fkoa-init","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnodejh%2Fkoa-init/lists"}