TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

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

1 pointsby code-eover 2 years ago

1 comment

code-eover 2 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&#x2F;exchanges&#x2F;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&#x27;s more of a cultural problem with node.<p>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.<p>Anyway I&#x27;m happy enough with the result that I feel I can show it off now.