connect-identity

0.1.1 • Public • Published

connect-identity

Creates a persistent identity for a visitor.

Installation

$ npm install connect-identity

Usage

var identity = require('connect-identity');

var app = express.createServer(
  identity({ cookie: 'some_cookie_name' })
)

app.get('/', function(request, response) {
  console.log(request.identity);
})

Readme

Keywords

none

Package Sidebar

Install

npm i connect-identity

Weekly Downloads

1

Version

0.1.1

License

none

Last publish

Collaborators

  • ddollar