An in-memory cache engine for the expeditious caching library. Stores cache entries in Node.js process memory (version 0.2.1). This engine is stateful and ephemeral: all data is lost on process restart. Key differentiators: extremely simple setup with no external dependencies, ideal for single-process applications or development environments. However, it may cause memory bloat and GC pressure with large caches. Not recommended for production use cases requiring persistence or multitenancy.
npm install expeditious-engine-memoryNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates creating an in-memory cache engine instance and using it with the expeditious library. Shows set operation.
Invoke the factory: const engine = require('expeditious-engine-memory')()Use CommonJS require() instead of import
For persistent caching, use a different engine like file-system or Redis.
Set reasonable TTLs and call flush() periodically if needed.
const engine = require('expeditious-engine-memory')()npm install expeditious
Create an instance: const engine = require('expeditious-engine-memory')(); then use engine.get/set etc.