lucia-auth / lucia

Authentication, simple and clean
https://lucia-auth.com
MIT License
9.19k stars 467 forks source link

[Feature Request]: Add sequelize ORM support #1656

Open bluepuma77 opened 1 month ago

bluepuma77 commented 1 month ago

Package

lucia

Description

Add support for sequelize ORM (website). I am aware of the previous discussions (link), but looking at the ORM usage it would be fair to say that sequelize is a heavy used ORM, especially compared to newcomers like drizzle and kysely.

https://npmtrends.com/better-sqlite3-vs-drizzle-orm-vs-kysely-vs-mongodb-vs-mongoose-vs-mysql2-vs-node-postgres-vs-prisma-vs-sequelize

A lot of existing software products are based on sequelize. Migrating those to Svelte and to a new auth library and changing ORM at the same time can be a bit too much. And some projects may require on-prem support for strange DBs (like MSSQL), where sequelize has a lot of support.