An in-memory storage plugin for Verdaccio, the lightweight private npm registry proxy. Current stable version: 10.4.5 (v10 series maintained by the Verdaccio team). Ideal for testing environments and CI/CD pipelines where ephemeral registries are needed. Unlike filesystem-based plugins, it stores packages and metadata in memory, ensuring fast access and automatic cleanup on process exit but losing data on restart. Requires Verdaccio v5+ as a peer dependency. Released on a semver schedule alongside Verdaccio core releases.
npm install verdaccio-memoryNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Demonstrates starting a Verdaccio instance with in-memory storage using TypeScript. The Config() call creates the plugin instance with optional limit parameter.
Upgrade Node.js to version 18 or higher.
Update import paths: default import now from 'verdaccio-memory' instead of '@verdaccio/memory' (if previously used).
Use only for testing or ephemeral environments. For persistent storage, use verdaccio-fs or verdaccio-s3-storage.
Pass a number directly: Config(1000) instead of Config({ maxItems: 1000 }).Use verdaccio-memory only in trusted environments. For token management, integrate a database-backed storage.
const storage = Config(); // not 'new Config()'
Ensure you are using a compatible version of verdaccio (v5+) and the plugin version matches.
Run 'npm install verdaccio-memory' or check that the package is in your dependencies.
Config(1000) or Config({ limit: 1000 }) – but the object form is deprecated; prefer just a number.