
Company News
Socket Joins New OpenJS Program to Fund Node.js Security Work
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.
@galaxy-stack/orbit-event-bus
Advanced tools
In-process event bus for Orbit — @OnEvent decorators, wildcards, priorities, sync/async emission
In-process event bus for Orbit — @OnEvent decorators, wildcard patterns, priorities, sync/async emission.
Part of the Orbit framework — a NestJS-style backend framework for Bun.
bun add @galaxy-stack/orbit-event-bus
import { EventBusModule, EventBus, OnEvent, Injectable, Module } from '@galaxy-stack/orbit-event-bus';
@Injectable()
export class UserHandlers {
@OnEvent('user.created')
onCreated(payload: { id: string }) { /* ... */ }
@OnEvent('order.**') // any depth under order.*
async onOrderEvent(payload: any, event: string) { /* ... */ }
}
@Module({
imports: [EventBusModule.forRoot({ handlers: [new UserHandlers()] })],
})
export class AppModule {}
// anywhere with DI:
constructor(private bus: EventBus) {}
await this.bus.emitAsync('user.created', { id: 'u1' });
Features: exact + wildcard matching (user.* one segment, user.** any depth), priority ordering, once handlers, error isolation (or throwErrors: true).
MIT
FAQs
In-process event bus for Orbit — @OnEvent decorators, wildcards, priorities, sync/async emission
We found that @galaxy-stack/orbit-event-bus demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.

Company News
Socket is joining the OpenJS Security Stewardship Program to fund Node.js vulnerability research, maintainer remediation, and security releases.

Security News
Two compromised GitHub Actions were re-enabled with malicious tags intact, exposing thousands of downstream repositories to Mini Shai-Hulud.

Research
/Security News
A malicious Firefox extension fetches its payload after installation to evade detection, steal Google session cookies, and automate account takeover.