Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
lib
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 
 
 

koa-session-firestore

A Firebase Firestore store for the Node Koa Framework.

Have a question? Feel free to book a slot to talk or file an issue.

book a meeting

Installation

npm i --save koa-session-firestore

Basic Usage

See example/server.js for example usage.

Options

import { FirestoreStore } from "koa-session-firestore";

const store = new Firestore({
    // Firestore instance
    db: firebase.firestore(),
    // Optional: default is sessions
    collectionName: "something"
});