Embeddable Auth Library stable

Lucia

Lightweight authentication library for TypeScript

10.0K stars 100 contributors Since 2022
Website → GitHub

Lightweight authentication library for TypeScript

License
MIT
Min RAM
16 MB
Min CPUs
1 core
Scaling
single_node
Complexity
intermediate
Performance
medium
Self-hostable
K8s native
Offline
Pricing
fully free
Docs quality
good
Vendor lock-in
none

Use cases

  • Add authentication to TypeScript apps
  • Session management without heavy frameworks
  • Auth for Next.js/SvelteKit/Astro apps

Anti-patterns / when NOT to use

  • No UI components
  • Requires understanding of auth concepts
  • Less batteries-included than SuperTokens

Compare with alternatives

Replaces / alternatives to

  • Auth0 SDK
  • Firebase Auth SDK

Technical specs

Language
TypeScript
API type
SDK
Protocols
HTTP
Deployment
npm
SDKs
typescriptjavascript

Community

GitHub stars 10.0K
Contributors 100
Commit frequency weekly
Plugin ecosystem none
Backing pilcrow
Funding community

Release

Latest version
Last release
Since 2022

Best fit

Team size
solosmallmedium
Industries
general

Tags

  • authentication
  • session-management
  • typescript
  • lightweight
  • framework-agnostic
  • no-magic