Skip to content

jexia/express-session-etcd3

Repository files navigation

express-session-etcd3

CircleCI

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!

License

MIT

About

An ETCD v3 store adapter for Express session using etcd3 client.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published