neo4j-sessionstore
v1.0.7
Published
Implementation of a session storage using Neo4j as an extension of the express-session middleware.
Downloads
4
Maintainers
Readme
neo4j-sessionstore
Usage
This can be used as a session store with express-session.
Note
The session store needs to be closed manually for now, with a call to close() like this:
const store = new Neo4jSessionStore(OPTIONS, (err) => {
store.close();
if (err) reject(err);
});
There is a process exit listener that tries to handle this for you.
Inspiration
Inspired by https://github.com/rafaelrpinto/dynamodb-store
There is also a Neo4j session store for Java on Jooby.io: https://jooby.io/v1/doc/neo4j/#neo4j-session-store