A Node.js cache helper supporting memory and Redis backends, with an Express middleware inspired by apicache. Version 0.0.5 provides simple async/await caching with optional TTL and environment-based configuration. The library is lightweight but requires external peer dependencies: 'redis' for Redis backend or 'memory-cache' for memory backend. Currently in early development with sporadic releases.
npm install steplix-cacheNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Shows basic cache set/get with TTL and Express middleware usage using require and async/await.
Install required backend: npm install steplix-cache redis or npm install steplix-cache memory-cache
Set environment variable CACHE_TYPE=redis and install redis package.
Use require() or create an ESM wrapper with createRequire.
Pin exact version in package.json and test thoroughly before upgrading.
npm install redis
Use require('steplix-cache') instead.No dependency data recorded yet.