{"id":21348786,"url":"https://github.com/trawor/template-node-koa","last_synced_at":"2026-05-07T09:34:54.349Z","repository":{"id":139037232,"uuid":"173700874","full_name":"trawor/template-node-koa","owner":"trawor","description":"NodeJS koa2 project template","archived":false,"fork":false,"pushed_at":"2019-03-05T06:37:36.000Z","size":11,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-19T07:24:44.837Z","etag":null,"topics":["koa","koa2","nodejs","nodejs-server","oneline","template"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/trawor.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}},"created_at":"2019-03-04T08:07:02.000Z","updated_at":"2019-03-05T06:38:51.000Z","dependencies_parsed_at":"2023-05-03T10:22:51.961Z","dependency_job_id":null,"html_url":"https://github.com/trawor/template-node-koa","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/trawor/template-node-koa","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trawor%2Ftemplate-node-koa","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trawor%2Ftemplate-node-koa/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trawor%2Ftemplate-node-koa/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trawor%2Ftemplate-node-koa/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/trawor","download_url":"https://codeload.github.com/trawor/template-node-koa/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/trawor%2Ftemplate-node-koa/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32731664,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-07T02:14:30.463Z","status":"ssl_error","status_checked_at":"2026-05-07T02:14:29.405Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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","nodejs","nodejs-server","oneline","template"],"created_at":"2024-11-22T02:36:01.700Z","updated_at":"2026-05-07T09:34:54.333Z","avatar_url":"https://github.com/trawor.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# template-node-koa\nNodeJS koa2 project template, start your koa in 5 secends!\n\n![ezgif com-gif-maker](https://user-images.githubusercontent.com/72015/53785601-0da17a80-3f54-11e9-8503-60ba1e6bf67e.gif)\n\n## Features\n- Muilt-CPU supports (cluster)\n- Simple color log (console override)\n- Add-to-use router(autoload files under 'router' folder)\n- Exception handle\n- Dockerfile within\n\n\n## Init\n\n`bash \u003c(curl -sSL https://github.com/trawor/template-node-koa/raw/master/get.sh)`\n\n## Start\nJust add .js file to `router/`, like:\n\n```javascript\nconst router = require('koa-router')({\n  prefix: 'api',\n});\n\nmodule.exports = router;\n\nrouter.get('/test', async (ctx) =\u003e {\n  ctx.body = {\n    msg: 'ok',\n  };\n});\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrawor%2Ftemplate-node-koa","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftrawor%2Ftemplate-node-koa","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftrawor%2Ftemplate-node-koa/lists"}