A Node.js wrapper for encrypting and decrypting data stored in Redis using AES-256-GCM encryption with unique IVs per entry. Currently at version 4.1.3, actively maintained. Key differentiators include built-in secret key validation via SecretValidator, support for both Redis connection options and existing ioredis clients (including Cluster), automatic UUID-based prefixing, and ESM-only with TypeScript types. Provides simple save/get/delete operations on serialized JSON objects with strong encryption.
No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
SecureStore is the default export (not named). For TypeScript, use the default import pattern; named import will fail at runtime.
SecretValidator is a named export, not default. Also available as SecretValidator.generate() is a static method.
SecureStoreConfig is a TypeScript interface, imported as type. Importing as a runtime value will produce an error in bundlers.
Creates an encrypted Redis store, saves and retrieves a JSON object, then disconnects. Uses auto-generated secret and default Redis connection.
Breaking-change detection hasn't run for this library yet.
CVE tracking and dependency tree are planned for a later release.