GithubHelp home page GithubHelp logo

donsn / lucia Goto Github PK

View Code? Open in Web Editor NEW

This project forked from lucia-auth/lucia

0.0 0.0 0.0 4.65 MB

Authentication, simple and clean

Home Page: https://lucia-auth.com

License: MIT License

TypeScript 100.00%

lucia's Introduction

Lucia

Lucia is an auth library written in TypeScript that abstracts away the complexity of handling sessions. It works alongside your database to provide an API that's easy to use, understand, and extend.

  • No more endless configuration and callbacks
  • Fully typed
  • Works in any runtime - Node.js, Bun, Deno, Cloudflare Workers
  • Extensive database support out of the box
import { Lucia } from "lucia";

const lucia = new Lucia(new Adapter(db));

const session = await lucia.createSession(userId, {});
await lucia.validateSession(session.id);

Lucia is an open source library released under the MIT license, with the help of 100+ contributors!

Resources

Documentation

Join the Discord server!

Examples

Contributing

Changelog

Installation

npm i lucia
pnpm add lucia
yarn add lucia

lucia's People

Contributors

pilcrowonpaper avatar lucythecat avatar adriangonz97 avatar v-rogg avatar blastose avatar skepticmystic avatar dawidmachon avatar faeyumbrea avatar gustavocadev avatar gtim avatar tazorde avatar jings avatar kazuumin avatar ffss92 avatar jouandeag avatar machina20 avatar josefaidt avatar oscartbeaumont avatar ollema avatar schweden1997 avatar fredtreg avatar danawoodman avatar abdel-17 avatar parables avatar rafidmuhymin avatar rhenaldkarrel avatar simonsarris avatar sooditk avatar stewartside avatar diericx avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.