Drop-in replacement for @prisma/client โ runs on Oracle, SQL Server, DB2, SAP HANA, MongoDB, plus 8 more. Native TypeScript. No engine binary. AGPL + commercial.
npm install @mostajs/orm @mostajs/orm-bridge
Your db.User.findMany({ include }), nested writes, $transaction โ all keep working.
- // src/lib/db.ts
- import { PrismaClient } from '@prisma/client'
- export const db = new PrismaClient()
+ // src/lib/db.ts
+ import { createPrismaLikeDb } from '@mostajs/orm-bridge'
+ export const db = await createPrismaLikeDb()
SQLite for prototypes. Oracle for payroll. MongoDB for audit logs. Change one env var, ship the same code.
Each dialect: ~200 LOC, lazy-loaded, bundler-friendly (Next.js ยท Vite ยท SvelteKit)
Codemod + install + schema convert + DDL + seed โ under 90 seconds.
$ npx @mostajs/orm-cli bootstrap
new PrismaClient() โ await createPrismaLikeDb()@mostajs/orm + bridge + adapter + driverprisma/schema.prisma, emits EntitySchema[]SQLite master โ PostgreSQL + MongoDB slaves in one config. Live monitor dashboard included.
beginTx / commitTx / rollbackTx with nested SAVEPOINTs across all SQL engines.
Pure TypeScript schemas. No prisma generate. Bundles cleanly on Edge runtimes.
Free as in freedom. Perfect for OSS projects, research, personal side projects, agencies shipping OSS deliverables.
Read the license โShips with your SaaS, keeps your source closed, includes a 12-month support SLA. Quote on request.
drmdh@msn.com โnpx to production: 30 minutes.