Memorystore

screenshot of Memorystore
express

express-session full featured MemoryStore layer without leaks!

Overview:

The memorystore is a full-featured MemoryStore module with a focus on preventing memory leaks for Express session storage. It provides a session store implementation for Express using lru-cache, offering options for TTL, cache size settings, and more.

Features:

  • Prevents Memory Leaks: Provides a way to avoid memory leaks that can occur with the default MemoryStore in express-session.
  • Customizable Options: Allows users to define settings such as check period, maximum cache size, session TTL, and more.
  • Additional Methods: Implements required, recommended, and optional methods for the express-session store, with extras like startInterval, stopInterval, and prune.

Summary:

The memorystore package provides a reliable solution for managing session storage in Express applications, offering features to prevent memory leaks, customize cache settings, and implement necessary session store methods. With additional methods like startInterval and stopInterval, it adds value to the Express session handling process. The package is authored by Rocco Musolino and is licensed under MIT.

express
Express

Express.js is a simple Node.js framework for single, multi-page, and hybrid web applications.