HyperExpress.Session: High Performance Cookie Sessions Middleware
Motivation
HyperExpress.Session aims to provide a simple middleware that implements a session engine with high flexibility while being performant. This middleware is unopinionated and can be used with any storage mechanism of your choice. This middleware ships with TypeScript types out of the box, so both vanilla Javascript and TypeScript projects are welcome.
Installation
HyperExpress and HyperExpressWS can both be installed using node package manager (npm
)
npm i hyper-express-session
Documentation
- See
> [Examples & Snippets]
for small and easy-to-use snippets with HyperExpress.Session. - See
> [SessionEngine]
for creating a session engine and working with the SessionEngine component. - See
> [Session]
for working with the Session component to manipulate request sessions.
License
MIT