connect-heroku-memcached

0.0.7 • Public • Published

Connect Heroku Memcached

A connect session store that implements the memcached binary protocol for use with heroku's and others memcache services.

Thanks to memcache binary protocol implementation in alevy's memjs library.

Install

  npm install connect-heroku-memcached

Test

  npm test

Usage

  var HerokuMemcachedStore = require('connect-heroku-memcached')(express)
  ...
  app.use(express.session({
    secret: 'some secret for your cookie',
    store: new HerokuMemcachedStore({
      servers: ["server1", "server2", "server3:11711"]
      username: "username",
      password: "p4ssw0rd"})
    })
  );

/connect-heroku-memcached/

    Package Sidebar

    Install

    npm i connect-heroku-memcached

    Weekly Downloads

    5

    Version

    0.0.7

    License

    GPLv3

    Last publish

    Collaborators

    • xenomuta
    • joaoneto