# filestore **Repository Path**: mirrors_node-modules/filestore ## Basic Information - **Project Name**: filestore - **Description**: A File Session Store for connect.session - **Primary Language**: Unknown - **License**: MIT - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2020-08-19 - **Last Updated**: 2025-12-27 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # A File Store, could use in connect.session Implement all the method for connect.session Every session store _must_ implement the following methods - `.get(sid, callback)` - `.set(sid, session, callback)` - `.destroy(sid, callback)` _must_ Inherit from `connect.session.Store`. Recommended methods include, but are not limited to: - `.length(callback)` - `.clear(callback)` ## How to use var FileStore = require('filestore')(express); var filedir = __dirname + '/.sessions'; app.use(express.session({secret: 'A secret', store: new FileStore(filedir)}));