A Redis-backed cookie store for the tough-cookie library, allowing persistent cookie storage across Node.js sessions. Version 0.0.4 is stable but appears to have no recent updates. It is based on the earlier tough-cookie-filestore pattern, providing a simple store constructor that takes a Redis key name. This package is ultra-lightweight but lacks active maintenance, TypeScript definitions, and modern async/await patterns. It relies on the synchronous tough-cookie store interface and may not be compatible with newer tough-cookie versions that have moved to async API.
npm install tough-cookie-redisstoreNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a Redis-backed cookie jar, sets a cookie, and retrieves it. Uses callbacks as the typical pattern for this version.
Pass a string key: new RedisCookieStore('my-key')Use tough-cookie <4.0.0 or check compatibility.
Use CommonJS require: const RedisCookieStore = require('tough-cookie-redisstore');Consider alternative packages like 'tough-cookie-filestore' or implement your own async store.
Run 'npm install tough-cookie-redisstore' to install it.
Use require: const RedisCookieStore = require('tough-cookie-redisstore');Use tough-cookie v3 or earlier, or wrap the store in an adapter.