New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

connect-dynamodb

Package Overview
Dependencies
Maintainers
1
Versions
37
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

connect-dynamodb

DynamoDB session store for Connect

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
53K
increased by3.15%
Maintainers
1
Weekly downloads
 
Created
Source

Connect DynamoDB

connect-dynamodb is a DynamoDB session store backed by dynode

Installation

  $ npm install connect-dynamodb

Options

  • client An existing dynamodb client object you normally get from dynamodb.createClient()
  • table DynamoDB server session table
  • accessKeyId AWS accessKeyId
  • secretAccessKey AWS secretAccessKey
  • prefix Key prefix defaulting to "sess:"

Usage

Due to npm 1.x changes, we now need to pass connect to the function connect-dynamodb exports in order to extend connect.session.Store:

var connect = require('connect')
 	  , DynamoDBStore = require('connect-dynamodb')(connect);

connect.createServer(
  connect.cookieParser(),
  // 5 minutes
  connect.session({ store: new DynamoDBStore, secret: 'keyboard cat' })
);

This means express users may do the following, since express.session.Store points to the connect.session.Store function:

var DynamoDBStore = require('connect-dynamodb')(express);

FAQs

Package last updated on 22 May 2012

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc