connect-bluesky

Windows Azure session store for connect/express backed by the bluesky API

npm install connect-bluesky
18 downloads in the last month

connect-bluesky

connect-bluesky is a node.js connect/express session store backed by the bluesky API for Windows Azure.

Installation

$ npm install connect-bluesky

Usage

var express = require('express'),
    BlueskyStore = require('connect-bluesky')(express);

app.configure(function() { 
  // ...
  app.use(express.cookieParser()); 
  app.use(express.session({
    secret: 'your secret here', 
    store: new BlueskyStore({
      account: 'yourAzureAccount',
      key: 'yourAzureAccountKey',
      table: 'tableName'
    })
  }));  
  // ...
});

Options

  • account: The name of the Windows Azure storage account to use
  • key: The access key used to authenticate into this storage account
  • table: The name of the table to use (will be created if it does not already exist)

Example

There is an example application in the example directory.

connect-bluesky was inspired by, and patterned after, connect-redis

npm loves you