@purista/natsbridge
TypeScript icon, indicating that this package has built-in type declarations

1.11.0 • Public • Published

@purista/natsbridge

Package for using a NATS broker as event bridge.
The event bridge supports brokers with and without JetStream enabled.

If JetStream is enabled, subscriptions which are marked as durable are persisted by using JetStream.
If JetStream is not available, subscription fall back to live-subscriptions without any persistence.

Example usage:

import { NatsBridge } from '@purista/natsbridge'

// create and init our eventbridge
  const eventBridge = new NatsBridge()
  await eventBridge.start()

Visit purista.dev

Follow on Twitter @purista_js
Join the Discord Chat

PURISTA - Typescript framework for IoT, microservices, and serverless | Product Hunt

Readme

Keywords

none

Package Sidebar

Install

npm i @purista/natsbridge

Homepage

purista.dev

Weekly Downloads

55

Version

1.11.0

License

ISC

Unpacked Size

96.2 kB

Total Files

106

Last publish

Collaborators

  • sebastianwessel