connect-bluesky

0.3.3 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i connect-bluesky

Weekly Downloads

5

Version

0.3.3

License

none

Last publish

Collaborators

  • pofallon