@shogo-ai/db
v1.10.0
Published
Shogo DB — Prisma adapter helpers for PostgreSQL/SQLite/libSQL with auto-detection from DATABASE_URL.
Maintainers
Readme
@shogo-ai/db
Prisma adapter helpers — auto-detects PostgreSQL/SQLite/libSQL from
DATABASE_URL and wires up the right driver. The actual Prisma client
generation stays your project's concern; this package just gives you a
one-line createPrismaClient(PrismaClient) factory.
Install
bun add @shogo-ai/db @prisma/client
# Plus the adapter you actually use:
bun add @prisma/adapter-pg # for postgres://...
bun add @prisma/adapter-libsql # for file://... or libsql://...Adapters are optional peers — install only the ones you need.
License
MIT — see LICENSE.
