Redis application archetype providing lifecycle boilerplate for Node.js apps that use Redis. Current version 0.7.18, relatively stable with infrequent releases. It wraps common startup patterns: config extraction from environment variables via app-spec, graceful shutdown, and error handling. Differentiates by offering a minimal, opinionated framework for small Redis-based microservices, popular in the evanx ecosystem (e.g., scan-expire, retask).
npm install redis-app-rpfNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Initializes a Redis app with env-based config, periodic ping, and error handling.
Use `require('redis-app-rpf')` instead of `import`.Call `redisApp(pkg, spec, main)`, not `redisApp({ pkg, spec, main })`.Ensure `main` signature is `async ({ config, redis, logger }) => { ... }`.Use `const redisApp = require('redis-app-rpf');` and call it as a function.Run `npm install app-spec` to install the required peer dependency.
Check that `main` is async and accepts a single object parameter.