Neoclassical Piano Montage
    Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

    connect-etcdpublic

    Connect Etcd

    ============

    Build Status

    NPM

    connect-etcd is a Etcd session store for express backed by node-etcd

    Installation

    	$ npm install connect-etcd
    

    Options

    - `url` Etcd host url
    - `port` Etcd port
    - `ttl` time-to-live (expiration) in seconds that the key will last for. By default the maxAge of the session cookie will be used.
    

    Usage

    var session = require('express-session');
    var EtcdStore = require('connect-etcd')(session);
    
    app.use(session({
    	store: new EtcdStore(options),
    	secret: 'hobknob'
    }));
    

    License

    MIT
    

    Keywords

    none

    install

    npm i connect-etcd

    Downloadsweekly downloads

    6

    version

    0.0.2

    license

    MIT

    repository

    githubgithub

    last publish

    collaborators

    • avatar
    • avatar