express-session-etcd3
v1.2.4
Published
An ETCD v3 store adapter for express-session using etcd3 client.
Downloads
6
Maintainers
Readme
express-session-etcd3
An ETCD v3 store adapter for express-session using etcd3 client.
Setup
Install this package with all necessary peer dependencies:
npm install express-session-etcd3 express-session etcd3
Pass the necessary configuration to access your etcd v3 base into the Etcd3Store
constructor as options
:
var session = require('express-session');
var Etcd3Store = require('express-session-etcd3');
app.use(session({
store: new Etcd3Store(options),
secret: 'keyboard cat',
resave: false
}));
Options
You can find all the available options at the documentation.
Documentation
Our TypeDoc docs are available here.
Our test cases are also quite readable.
Contributing
You can find all the steps at the Contributing Guide.
Credits
This project was easily bootstrapped with TypeScript library starter, thanks for sharing it!