Settings

Theme

Show HN: Node-RabbitMQ-client; typed, auto-reconnecting, zero-dependency library

github.com

1 points by code-e 3 years ago · 1 comment

Reader

code-eOP 3 years ago

RabbitMQ is a popular message broker, i.e. a pub-sub server. I started this project because I was frustrated by the current leading RabbitMQ library for nodejs, amqplib, and everything that tries to build on top of it. Typescript support is poor, connections are not retried, queues/exchanges/bindings are not automatically created, and error handling is inconsistent. The growth of my node_modules directory was also alarming when using the various wrapper libraries, but that's more of a cultural problem with node.

My goals for this project include: Avoid external runtime dependencies. Include fantastic documentation, not only as a separate page, but in the code. Expose a basic API that is at least as fast as amqplib. Build on the basic API to abstract away all the messy re-connection stuff, so I can just have robust publishers and consumers.

Anyway I'm happy enough with the result that I feel I can show it off now.

Keyboard Shortcuts

j
Next item
k
Previous item
o / Enter
Open selected item
?
Show this help
Esc
Close modal / clear selection