{"id":16085581,"url":"https://github.com/bjornbytes/RxLua","last_synced_at":"2025-10-23T02:30:50.881Z","repository":{"id":35020098,"uuid":"39123279","full_name":"bjornbytes/RxLua","owner":"bjornbytes","description":"Reactive Extensions for Lua","archived":false,"fork":false,"pushed_at":"2020-06-21T03:32:15.000Z","size":319,"stargazers_count":524,"open_issues_count":12,"forks_count":75,"subscribers_count":31,"default_branch":"master","last_synced_at":"2025-02-04T23:34:24.821Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Lua","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"golang/sys","license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bjornbytes.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}},"created_at":"2015-07-15T07:40:30.000Z","updated_at":"2025-02-01T18:35:06.000Z","dependencies_parsed_at":"2022-09-16T00:11:03.637Z","dependency_job_id":null,"html_url":"https://github.com/bjornbytes/RxLua","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjornbytes%2FRxLua","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjornbytes%2FRxLua/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjornbytes%2FRxLua/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bjornbytes%2FRxLua/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bjornbytes","download_url":"https://codeload.github.com/bjornbytes/RxLua/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237763855,"owners_count":19362310,"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-09T13:02:02.405Z","updated_at":"2025-10-23T02:30:50.375Z","avatar_url":"https://github.com/bjornbytes.png","language":"Lua","funding_links":[],"categories":["Lua","Libraries","资源","Resources"],"sub_categories":["FPS","Programming Language","Utility Belts"],"readme":"RxLua [![Build Status](https://travis-ci.org/bjornbytes/RxLua.svg)](https://travis-ci.org/bjornbytes/RxLua) [![Coverage Status](https://coveralls.io/repos/github/bjornbytes/RxLua/badge.svg?branch=master)](https://coveralls.io/github/bjornbytes/RxLua?branch=master)\n===\n\n[Reactive Extensions](http://reactivex.io) for Lua.\n\nRxLua gives Lua the power of Observables, which are data structures that represent a stream of values that arrive over time.  They're very handy when dealing with events, streams of data, asynchronous requests, and concurrency.\n\nGetting Started\n---\n\n#### Lua\n\nCopy the `rx.lua` file into your project and require it:\n\n```lua\nlocal rx = require 'rx'\n```\n\nYou can also install RxLua using luarocks:\n\n```sh\nluarocks install bjornbytes/rxlua\n```\n\n#### Luvit\n\nInstall using `lit`:\n\n```sh\nlit install bjornbytes/rx\n```\n\nThen require it:\n\n```lua\nlocal rx = require 'rx'\n```\n\n#### Love2D\n\nSee [RxLove](https://github.com/bjornbytes/RxLove).\n\nExample Usage\n---\n\nUse RxLua to construct a simple cheer:\n\n```lua\nlocal Rx = require 'rx'\n\nRx.Observable.fromRange(1, 8)\n  :filter(function(x) return x % 2 == 0 end)\n  :concat(Rx.Observable.of('who do we appreciate'))\n  :map(function(value) return value .. '!' end)\n  :subscribe(print)\n\n-- =\u003e 2! 4! 6! 8! who do we appreciate!\n```\n\nSee [examples](examples) for more.\n\nResources\n---\n\n- [Documentation](doc)\n- [Contributor Guide](doc/CONTRIBUTING.md)\n- [Rx Introduction](http://reactivex.io/intro.html)\n\nTests\n---\n\nUses [lust](https://github.com/bjornbytes/lust). Run with:\n\n```\nlua tests/runner.lua\n```\n\nor, to run a specific test:\n\n```\nlua tests/runner.lua skipUntil\n```\n\nLicense\n---\n\nMIT, see [`LICENSE`](LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjornbytes%2FRxLua","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbjornbytes%2FRxLua","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbjornbytes%2FRxLua/lists"}