A convenient wrapper around node-redis for use within a Nodecaf application, providing a promise-based async/await interface. Version 0.1.0 is the initial release, currently in development and not yet stable. It relies on the node-redis package and is tightly coupled with the Nodecaf framework. Compared to using node-redis directly, it simplifies configuration and integrates with Nodecaf's lifecycle, but it is not intended for general-purpose Redis access outside of Nodecaf.
npm install nodecaf-redisNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates creating a Redis client instance, connecting, setting and getting a value, and disconnecting.
Pin to exact version and test on upgrades.
Ensure your application is built on Nodecaf, or consider using node-redis directly.
Switch to ESM by adding 'type': 'module' to your package.json, or use a different Redis wrapper.
Use import instead of require(), or convert your project to ESM.
Use 'import Redis from 'nodecaf-redis'' (default import).
Ensure redis variable is properly initialized with 'new Redis()' and not reassigned.