Nestjs-redis
بواسطة @mouloud240
نشِط 15
A redis library for nestjs
عن هذا المشروع
NestJS Redis Module A configurable NestJS module to integrate Redis, built on top of ioredis. This module provides a RedisService with a comprehensive set of methods to interact with your Redis server. Features Easy integration with NestJS applications. Built on the robust and performant ioredis library. Configurable using static register or dynamic registerAsync methods. Global module support. Built-in caching interceptor to cache method responses with customizable keys and TTLs. Ai Autotuning of TTL per endpoint (coming very soon). A rich RedisService that covers most Redis commands for various data structures. Usage Import the Module You can import RedisModule into your application's root module (app.module.ts). Static Configuration For simple setups, you can configure the module statically using register. Asynchronous Configuration For more complex setups, like when you need to fetch configuration from a ConfigService, you can use registerAsync. Global Module To make the RedisService available in all modules without importing RedisModule everywhere, you can register it as a global module. Inject and Use RedisService
من ملف README الخاص بالمشروع على GitHub
- النجوم
- 15
- التفريعات
- 1
- الرخصة
- MIT
- آخر تحديث
- 17/05/2026
أضف هذه الشارة إلى ملف README
أظهر أن مشروعك مُدرج على «صُنع في الجزائر».
[](https://www.madeinalgeria.dev/projects/nestjs-redis)