redis-otp-manager

JSON →
library 1.6.1 ·javascript
verified Jun 7, 2026

Lightweight, Redis-backed OTP (one-time password) manager for Node.js and NestJS applications. Current stable version 1.6.1. Provides production-oriented OTP engine with Redis TTL storage, atomic Redis verification, HMAC hashing with secret rotation support, and abuse-control policies (rate limiting, cooldown, lockout). Includes lifecycle hooks for observability. Supports both ESM and CommonJS. Differentiators: intent-aware keying for multi-purpose OTPs, optional sliding window rate limiting, replay protection for token links, and first-class NestJS module export. Requires Node >=18 and peer dependencies for NestJS integration.