Build message-driven microservices that call each other like local objects — no HTTP layer, no gRPC, no schema files. Just decorated TypeScript classes over a Redis-backed message queue, with generated, fully-typed clients.
Documentation → imqueue.org · Commercial licensing → imqueue.com · Get started · Blog
- Type-safe service-to-service RPC. Expose a method with a decorator; the CLI generates a fully-typed client. Types flow across the network boundary — no hand-written clients, no drift.
- No HTTP boilerplate. Services communicate over a message queue (Redis today), so you get competing-consumer load balancing and back-pressure for free — no load balancer, no service mesh required.
- Guaranteed & delayed delivery, built in. Safe delivery, retries, and millisecond-precision scheduling are first-class across the framework.
- TypeScript-first, decorator-driven. JSDoc is the source of truth for types — no
reflect-metadata, no separate IDL.
npm i @imqueue/rpc
npm i -g @imqueue/cli # scaffolding & typed-client generationimport { IMQService, expose } from '@imqueue/rpc';
class UserService extends IMQService {
@expose()
public async getUser(id: number): Promise<{ id: number; name: string }> {
return { id, name: 'Ada' };
}
}| Package | What it is |
|---|---|
@imqueue/rpc |
Type-safe RPC over a message queue — decorators, services & generated clients |
@imqueue/core |
The Redis-backed messaging-queue engine shared by the framework |
@imqueue/cli |
Scaffolding, typed-client generation and local service management |
@imqueue/job |
Simple, safe-by-default Redis job queue (delayed/scheduled jobs, retries) |
Integrations & utilities: pg-cache · pg-pubsub · tag-cache · graphql-dependency · type-graphql-dependency · async-logger · http-protect · dd-trace · opentelemetry-instrumentation-imqueue
@imqueue publishes machine-readable docs for coding agents. Point your assistant at imqueue.org/llms.txt (or AGENTS.md in each repo) so it generates correct, idiomatic @imqueue code. See the AI assistants guide.
@imqueue is open source under GPL-3.0. Shipping inside a closed-source product? A commercial license is available — see imqueue.com and the licensing explainer. Contributions are welcome — see CONTRIBUTING.
