@cloudedots/redis-token-store
TypeScript icon, indicating that this package has built-in type declarations

2.0.0 • Public • Published

Redis Token Store

Redis Session Store for using with @cloduedots/express-session-token

Installation

$ npm i --save @cloudedots/redis-token-store

Usage

var RedisTokenStore = require('@cloudedots/redis-token-store');
var redis = require('redis');

var client = redis.createClient();
var store = new RedisTokenStore({
    client: client,
    prefix: 'token-sess:',
    serializer: JSON,
    ttl: 24 * 60 * 60
});

/@cloudedots/redis-token-store/

    Package Sidebar

    Install

    npm i @cloudedots/redis-token-store

    Weekly Downloads

    4

    Version

    2.0.0

    License

    ISC

    Unpacked Size

    6.31 kB

    Total Files

    6

    Last publish

    Collaborators

    • dhyeymoliya