{"id":22731489,"url":"https://github.com/kakacoding/lua2yml","last_synced_at":"2026-04-17T07:33:29.891Z","repository":{"id":194072477,"uuid":"163395862","full_name":"kakacoding/lua2yml","owner":"kakacoding","description":"将lua工程导出docfx可识别的yml","archived":false,"fork":false,"pushed_at":"2018-12-29T01:46:44.000Z","size":18,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-03-30T01:37:38.483Z","etag":null,"topics":["docfx","lua","yml"],"latest_commit_sha":null,"homepage":null,"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/kakacoding.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}},"created_at":"2018-12-28T10:05:58.000Z","updated_at":"2020-08-21T05:51:24.000Z","dependencies_parsed_at":"2023-09-11T14:43:33.619Z","dependency_job_id":"d1d873af-cfde-4591-b18e-b57722cfd943","html_url":"https://github.com/kakacoding/lua2yml","commit_stats":null,"previous_names":["kakacoding/lua2yml"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/kakacoding/lua2yml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakacoding%2Flua2yml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakacoding%2Flua2yml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakacoding%2Flua2yml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakacoding%2Flua2yml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kakacoding","download_url":"https://codeload.github.com/kakacoding/lua2yml/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kakacoding%2Flua2yml/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31920187,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T18:22:33.417Z","status":"online","status_checked_at":"2026-04-17T02:00:06.879Z","response_time":62,"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":["docfx","lua","yml"],"created_at":"2024-12-10T19:27:58.372Z","updated_at":"2026-04-17T07:33:29.857Z","avatar_url":"https://github.com/kakacoding.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lua2yml说明\n基于typescript开发，使用luaparse库解析lua代码及注释，通过ejs模板生成docfx可使用的yml\n\n抽取的lua注释格式以[emmylua](https://emmylua.github.io/annotations/class.html)为基础\n\n## 运行方法\n- `npm install`\n- `tsc`\n- `node ./dist/app.js`\n\n## 配置文件\n- `./conf/config.json`\n\n## 其他\n- lua的注释抽取是通过`config.json`中的正则实现的\n- lua代码的分析目前不可配置，写死在app.ts中\n- lua的类声明目前只支持tolua中的class格式`derive = class(\"derive\"[,base])`，逻辑在`分析类声明`附近\n- 类似`local c = {} function c.xx() end`的函数声明目前不支持\n- 目前只用于测试，没在实际项目中使用\n\n## 后续计划\n- 实现代码分析可配置","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkakacoding%2Flua2yml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkakacoding%2Flua2yml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkakacoding%2Flua2yml/lists"}