@usebetterdev/tenant-core
Core library for request-scoped multi-tenancy with Postgres RLS. Provides tenant context (AsyncLocalStorage), resolver strategies, adapter contract, and tenant API. No database driver dependency — use with the Drizzle adapter or a custom adapter.
100
Security score
0 known advisories in v0.5.4
Weekly downloads
809
Unpacked size
222.8 kB
Dependencies
0
Last publish
4 months ago
Security advisories
No known vulnerabilities affect v0.5.4.
Downloads — last 30 days
3.6K total▲ 19.7% vs prior week
Jul 3Aug 1