{"_id":"@8medusa/event-bus-local","name":"@8medusa/event-bus-local","dist-tags":{"latest":"2.7.0"},"versions":{"2.7.0":{"name":"@8medusa/event-bus-local","version":"2.7.0","description":"Local Event Bus Module for Medusa","main":"dist/index.js","repository":{"type":"git","url":"git+https://github.com/medusajs/medusa.git","directory":"packages/modules/event-bus-local"},"publishConfig":{"access":"public"},"engines":{"node":">=20"},"author":{"name":"Medusa"},"license":"MIT","devDependencies":{"@8medusa/framework":"2.7.0","@swc/core":"^1.7.28","@swc/jest":"^0.2.36","jest":"^29.7.0","rimraf":"^5.0.1","typescript":"^5.6.2"},"scripts":{"watch":"tsc --build --watch","build":"rimraf dist && tsc --build","test":"jest --passWithNoTests"},"dependencies":{"ulid":"^2.3.0"},"peerDependencies":{"@8medusa/framework":"2.7.0"},"_id":"@8medusa/event-bus-local@2.7.0","gitHead":"8618e6ee3843069ea189ea64d5191d93db52dc9d","types":"./dist/index.d.ts","bugs":{"url":"https://github.com/medusajs/medusa/issues"},"homepage":"https://github.com/medusajs/medusa#readme","_nodeVersion":"22.14.0","_npmVersion":"10.9.2","dist":{"integrity":"sha512-tqQLbcJQVZD4pGykU0v37etR+RGOr3+mrhPvSjKn9TyF5RPTuh+BXmlse4973dQ2g9eQxy2UL1MGGFlLj5OJxQ==","shasum":"8f4604c6016b89142f78e14105cc755326a0684b","tarball":"https://registry.npmjs.org/@8medusa/event-bus-local/-/event-bus-local-2.7.0.tgz","fileCount":19,"unpackedSize":18732,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBRf/wE4t19xaMUNHo/d99cFsFuoqrpSDJfwKucLs/SUAiA8YTX5BnKYcxQMWScl/wdPu5FS2l8ppmtq7cYDGsBQuA=="}]},"_npmUser":{"name":"8seneca","email":"8seneca@gmail.com"},"directories":{},"maintainers":[{"name":"8seneca","email":"8seneca@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/event-bus-local_2.7.0_1744943110366_0.2646126645294462"},"_hasShrinkwrap":false}},"time":{"created":"2025-04-18T02:25:10.290Z","2.7.0":"2025-04-18T02:25:10.548Z","modified":"2025-04-18T02:25:10.843Z"},"maintainers":[{"name":"8seneca","email":"8seneca@gmail.com"}],"description":"Local Event Bus Module for Medusa","homepage":"https://github.com/medusajs/medusa#readme","repository":{"type":"git","url":"git+https://github.com/medusajs/medusa.git","directory":"packages/modules/event-bus-local"},"author":{"name":"Medusa"},"bugs":{"url":"https://github.com/medusajs/medusa/issues"},"license":"MIT","readme":"<p align=\"center\">\n  <a href=\"https://www.medusajs.com\">\n    <img alt=\"Medusa\" src=\"https://user-images.githubusercontent.com/7554214/153162406-bf8fd16f-aa98-4604-b87b-e13ab4baf604.png\" width=\"100\" />\n  </a>\n</p>\n<h1 align=\"center\">\n  @8medusa/event-bus-local\n</h1>\n\n<h4 align=\"center\">\n  <a href=\"https://docs.medusajs.com\">Documentation</a> |\n  <a href=\"https://www.medusajs.com\">Website</a>\n</h4>\n\n<p align=\"center\">\nAn open source composable commerce engine built for developers.\n</p>\n<p align=\"center\">\n  <a href=\"https://github.com/medusajs/medusa/blob/master/LICENSE\">\n    <img src=\"https://img.shields.io/badge/license-MIT-blue.svg\" alt=\"Medusa is released under the MIT license.\" />\n  </a>\n  <a href=\"https://circleci.com/gh/medusajs/medusa\">\n    <img src=\"https://circleci.com/gh/medusajs/medusa.svg?style=shield\" alt=\"Current CircleCI build status.\" />\n  </a>\n  <a href=\"https://github.com/medusajs/medusa/blob/master/CONTRIBUTING.md\">\n    <img src=\"https://img.shields.io/badge/PRs-welcome-brightgreen.svg?style=flat\" alt=\"PRs welcome!\" />\n  </a>\n    <a href=\"https://www.producthunt.com/posts/medusa\"><img src=\"https://img.shields.io/badge/Product%20Hunt-%231%20Product%20of%20the%20Day-%23DA552E\" alt=\"Product Hunt\"></a>\n  <a href=\"https://discord.gg/xpCwq3Kfn8\">\n    <img src=\"https://img.shields.io/badge/chat-on%20discord-7289DA.svg\" alt=\"Discord Chat\" />\n  </a>\n  <a href=\"https://twitter.com/intent/follow?screen_name=medusajs\">\n    <img src=\"https://img.shields.io/twitter/follow/medusajs.svg?label=Follow%20@8medusa\" alt=\"Follow @8medusa\" />\n  </a>\n</p>\n\n## Overview\n\nLocal 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.\n\nThe Node EventEmitter is limited to a single process environment. We generally recommend using the `@8medusa/event-bus-redis` module in a production environment.\n\n## Getting started\n\nInstall the module:\n\n```bash\nyarn add @8medusa/event-bus-local\n```\n\nYou 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.\n\n```js\nmodule.exports = {\n  // ...\n  modules: [ ... ],\n  // ...\n}\n```\n\n## Configuration\n\nThe module comes with no configuration options.\n","readmeFilename":"README.md","_rev":"1-f8e0b70c68963f9d9352d864cbfc1758"}