Libraries

MikroEvent

NPM package

Ultra-lightweight, Node.js-native way to handle events, both in-process or across systems via HTTP(S).

Type
Developer library
Package
mikroevent
License
MIT

Events in-process or across systems.

MikroEvent is a tiny (~1.2 KB), zero-dependency event handler for Node.js that works with both in-process EventEmitter events and cross-system events over HTTP(S), without the learning curve of other eventing options.

Events EventEmitter HTTP Zero dependencies

What it does

Send events to named targets via HTTP or in-process EventEmitter

Add, update, and remove targets and their event subscriptions

Receive events from other systems via HTTP with Express-style middleware

About 1.2 KB gzipped with zero dependencies and high test coverage

Install

Add it to a project

npm install mikroevent