Repository URL to install this package:
|
Version:
2.0.0-beta.20 ▾
|
/**
* @description this is because memory store will leak memory
* @todo this api sucks
* @todo this is a YAGNI along with all of session
* MAYBE it will be helpful wit jwt
* if it doesn't impact then fine
* but otherwise it should only
* be a middleware checking a cookie
*
*
* @see https://www.npmjs.com/package/session-file-store
* @see https://github.com/roccomuso/memorystore/blob/master/lib/memorystore.js
* @see https://github.com/expressjs/session#compatible-session-stores
*
* @api @type https://github.com/DefinitelyTyped/DefinitelyTyped/blob/master/types/express-session/index.d.ts
*/
declare function sessionStore(session: any): any;