{"id":19592311,"url":"https://github.com/smikhalevski/event-bus","last_synced_at":"2026-06-13T17:32:10.676Z","repository":{"id":45367542,"uuid":"407936124","full_name":"smikhalevski/event-bus","owner":"smikhalevski","description":"🚌 Yet another event bus. There are many like it, but this one is mine.","archived":false,"fork":false,"pushed_at":"2021-12-17T12:40:07.000Z","size":101,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-05-04T09:25:32.249Z","etag":null,"topics":["event-bus","pubsub","reactive","rx"],"latest_commit_sha":null,"homepage":"","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/smikhalevski.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-09-18T18:20:21.000Z","updated_at":"2023-01-11T12:11:04.000Z","dependencies_parsed_at":"2022-09-16T21:22:54.982Z","dependency_job_id":null,"html_url":"https://github.com/smikhalevski/event-bus","commit_stats":null,"previous_names":["smikhalevski/yaeb"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/smikhalevski/event-bus","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smikhalevski%2Fevent-bus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smikhalevski%2Fevent-bus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smikhalevski%2Fevent-bus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smikhalevski%2Fevent-bus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smikhalevski","download_url":"https://codeload.github.com/smikhalevski/event-bus/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smikhalevski%2Fevent-bus/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34294410,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-13T02:00:06.617Z","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":["event-bus","pubsub","reactive","rx"],"created_at":"2024-11-11T08:34:36.109Z","updated_at":"2026-06-13T17:32:10.660Z","avatar_url":"https://github.com/smikhalevski.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# event-bus [![build](https://github.com/smikhalevski/event-bus/actions/workflows/master.yml/badge.svg?branch=master\u0026event=push)](https://github.com/smikhalevski/event-bus/actions/workflows/master.yml)\n\nYet another event bus. There are many like it, but this one is mine.\n\nThe most primitive implementation of a push-based event bus (pub/sub) that you can find.\n\n```shell\nnpm install --save-prod @smikhalevski/event-bus\n```\n\n```ts\nimport {EventBus} from '@smikhalevski/event-bus';\n\ninterface IFooEvent {\n  foo: string;\n}\n\nconst eventBus = new EventBus\u003cIFooEvent\u003e();\n\nconst unsubscribe = eventBus.subscribe((event) =\u003e console.log(event.foo));\n\neventBus.publish({foo: 'abc'}); // Outputs \"abc\" to console\n\nunsubscribe();\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmikhalevski%2Fevent-bus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmikhalevski%2Fevent-bus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmikhalevski%2Fevent-bus/lists"}