Skip to content

CiskaLV/lucia-surrealdb-adapter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

lucia-surrealdb-adapter

Surreal DB adapter for Lucia.

Installation

npm i lucia-surrealdb-adapter

Setup

import { SurrealDBAdapter } from "lucia-surrealdb-adapter";
import Surreal from "surrealdb.js";

//You will have to set this up with the connect and sign in methods
const db = new Surreal();

const adapter = new SurrealDBAdapter(db, {
    user: "users",
    session: "sessions",
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published