An ephemeral, in-memory store for the better-queue task queue library. Version 1.0.4 is the current stable release; no major updates since initial publication. It is the default store for better-queue and offers the fastest possible performance because all data lives in memory. Unlike persistent stores (e.g., SQLite or Redis), this store loses all queued items on process restart. It is ideal for development, testing, or workloads where queue durability is not required. The package is maintained as part of the diamondio/better-queue ecosystem.
npm install better-queue-memoryNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a better-queue using MemoryStore as the store option. Note MemoryStore is the default, but explicitly passing it shows usage.
Use a persistent store like better-queue-sqlite or better-queue-redis for durable queues.
If you want a different store, you must explicitly pass it in the options.
Consider better-queue v2 or alternative queue libraries if you need active maintenance.
Use `const MemoryStore = require('better-queue-memory');` then `new MemoryStore()`.Run `npm install better-queue-memory` and ensure node_modules is present.