@medusajs/event-bus-local (0.0.3)

Published 2026-03-25 06:37:26 +00:00 by piyush

Installation

@medusajs:registry=
npm install @medusajs/event-bus-local@0.0.3
"@medusajs/event-bus-local": "0.0.3"

About this package

Medusa

@medusajs/event-bus-local

Documentation | Website

An open source composable commerce engine built for developers.

Medusa is released under the MIT license. Current CircleCI build status. PRs welcome! Product Hunt Discord Chat Follow @medusajs

Overview

Local Event Bus module for Medusa. When installed, the events system of Medusa is powered by the Node EventEmitter. This module installed by default in new (> v1.8.0) Medusa projects.

The Node EventEmitter is limited to a single process environment. We generally recommend using the @medusajs/event-bus-redis module in a production environment.

Getting started

Install the module:

yarn add @medusajs/event-bus-local

You don't need to add the module to your project configuration as it is the default one. Medusa will try to use it, if no other event buses are installed.

module.exports = {
  // ...
  modules: [ ... ],
  // ...
}

Configuration

The module comes with no configuration options.

Dependencies

Dependencies

ID Version
ulid ^2.3.0

Development dependencies

ID Version
@medusajs/framework 0.0.3
@swc/core ^1.7.28
@swc/jest ^0.2.36
jest ^29.7.0
rimraf ^5.0.5
typescript ^5.6.2

Peer dependencies

ID Version
@medusajs/framework 0.0.3
Details
npm
2026-03-25 06:37:26 +00:00
0
Medusa
MIT
dev
6 KiB
Assets (1)
Versions (2) View all
0.0.3 2026-03-25
0.0.2 2026-02-09