TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

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

1 点作者 code-e超过 2 年前

1 comment

code-e超过 2 年前
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.