@wymp/simple-pubsub-amqp
TypeScript icon, indicating that this package has built-in type declarations

0.9.2 • Public • Published

Simple PubSub, AMQP

A Simple™-conformant wrapper for the AMQP PubSub Implementation. "Simple" is intended to be a highly reduced interface that allows for better interoperability and dependency choice for consumers.

This package provides a light wrapper around amqplib that enforces conformity with the SimplePubSubInterface defined in ts-simple-interfaces. See that package for information about the interface.

This implementation provides for the definition of exchange and queue options via the optional options argument supplied to the subscribe function. For publishing, you must first call the assertChannel method, which is a pass-through to the underlying assertExchange method of amqplib and accepts the same arguments.

Readme

Keywords

none

Package Sidebar

Install

npm i @wymp/simple-pubsub-amqp

Weekly Downloads

1

Version

0.9.2

License

ISC

Unpacked Size

89.2 kB

Total Files

17

Last publish

Collaborators

  • kael.shipman