1.0.0 • Published 5 months ago
shiva-pub-sub-redis v1.0.0
pub-sub-redis
A lightweight and robust pub/sub system built with Redis and WebSockets, designed for real-time communication in Node.js applications. This package leverages TypeScript for type safety and provides a clean and efficient way to manage subscriptions and message publishing.
Features
- Redis-backed: Uses Redis for message brokering, providing scalability and reliability.
- WebSocket integration: Enables real-time communication between clients.
- TypeScript support: Built with TypeScript for strong typing and improved developer experience.
- Flexible subscription management: Clients can subscribe to specific topics to receive relevant messages.
- External publishing: Messages can be published programmatically from outside the WebSocket connections.
- JWT authentication: Secure your pub/sub system with JWT (JSON Web Token) authentication.
- Clear error handling: Provides custom error classes for easier debugging.
Installation
npm install pub-sub-redis
1.0.0
5 months ago