REST-Sessions v2.0.1 is a REST interface built on top of redis-sessions for managing and sharing sessions across different app server platforms. It provides CRUD operations for session creation, retrieval, updating, and deletion via HTTP endpoints. The package communicates with Redis to store session data and supports configurable TTL, IP tracking, read/write counters, idle time, and JSON payloads for additional session parameters. It is designed for multi-platform environments (Node.js, PHP, ColdFusion, ASP, .NET) and can be run as a standalone service or via Docker. Maintenance status is unclear; the last release was in 2020 and development appears inactive.
npm install rest-sessionsNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
This shows how to install and run REST-Sessions globally, configuring Redis and port via environment variables.
Use as a CLI tool: `rest-sessions` command after global install.
Upgrade Node.js to v10 or later.
Use `git clone https://github.com/smrchy/rest-sessions.git` or update your git config.
Consider forking or migrating to a more actively maintained session management solution.
`npm install -g rest-sessions` and then run the `rest-sessions` command.
Ensure Redis is running on the host and port specified by RS_REDISHOST and RS_REDISPORT.
Upgrade Node.js to version 10 or higher.