{"id":13316220,"url":"https://github.com/alphafantomu/kagura-mea","last_synced_at":"2026-04-19T14:30:21.104Z","repository":{"id":141360041,"uuid":"493025752","full_name":"alphafantomu/kagura-mea","owner":"alphafantomu","description":"A lightweight async function binder, named after only the most loved virtual youtuber, Kagura Mea.","archived":false,"fork":false,"pushed_at":"2022-10-31T08:13:26.000Z","size":6,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-01T18:27:08.834Z","etag":null,"topics":["async","bind","kagura","library","libuv","lightweight","lua","luvit","mea","vtuber"],"latest_commit_sha":null,"homepage":"","language":"Lua","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/alphafantomu.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":"2022-05-16T23:08:06.000Z","updated_at":"2022-05-16T23:31:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"8be3a6ec-07e9-43ff-86a4-4a7d5b467e12","html_url":"https://github.com/alphafantomu/kagura-mea","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphafantomu%2Fkagura-mea","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphafantomu%2Fkagura-mea/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphafantomu%2Fkagura-mea/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alphafantomu%2Fkagura-mea/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alphafantomu","download_url":"https://codeload.github.com/alphafantomu/kagura-mea/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240019950,"owners_count":19735091,"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":["async","bind","kagura","library","libuv","lightweight","lua","luvit","mea","vtuber"],"created_at":"2024-07-29T18:20:37.666Z","updated_at":"2026-04-19T14:30:21.045Z","avatar_url":"https://github.com/alphafantomu.png","language":"Lua","funding_links":[],"categories":[],"sub_categories":[],"readme":"# kagura-mea\nA lightweight async function binder, named after only the most loved virtual youtuber, Kagura Mea.\n\n# Installation\nlit needs to be installed in your system, to install kagura-mea please run the following command:\n```bash\nlit install alphafantomu/kagura-mea\n```\n\n# Usage\nThe library returns a function which will be used to wrap synchronous functions, an example using coroutines is shown below:\n\n```lua\nlocal async = require('kagura-mea').async;\n\nlocal waitFive = async(function(n)\n\tlocal uv = require('uv');\n\tlocal t = uv.thread_self();\n\tuv.sleep(5000);\n\treturn nil, n * n, n;\nend);\n\ncoroutine.wrap(function()\n\tlocal thread = coroutine.running();\n\twaitFive(5, function(...)\n\t\tprint(...);\n\t\tcoroutine.resume(thread);\n\tend)\n\tprint'got here';\n\tcoroutine.yield();\n\tprint'woohoo';\nend)();\n\ncoroutine.wrap(function()\n\tlocal thread = coroutine.running();\n\twaitFive(5, function(...)\n\t\tprint(...);\n\t\tcoroutine.resume(thread);\n\tend)\n\tprint'got here';\n\tcoroutine.yield();\n\tprint'woohoo';\nend)();\n```\n\n# Kagura Mea\nYou can find her socials here:\n- [Youtube](https://www.youtube.com/channel/UCWCc8tO-uUl_7SJXIKJACMw)\n- [Twitter](https://twitter.com/KaguraMea_VoV)\n- [Bilibili](https://space.bilibili.com/349991143)\n- [Her Merchanise](https://kaguramea.booth.pm/)\n- [Her Tip](https://streamlabs.com/kaguramea0x0/tip)\n\n# Disclaimer\nThere is no affiliation with Kagura Mea.\n\n# License\n[MIT License](/LICENSE)\n\n# Contact\n- Discord: `Arivistraliavatoriar#2678`","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falphafantomu%2Fkagura-mea","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falphafantomu%2Fkagura-mea","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falphafantomu%2Fkagura-mea/lists"}