forge-orm brings Prisma-style ORM to browsers, React Native, and Tauri
A developer has released forge-orm, an open-source TypeScript ORM designed to work across environments where Prisma cannot, including browsers, Expo, React Native, Tauri, and Cloudflare Workers. The library offers a Prisma-like query API — covering operations such as findMany and create — without requiring code generation or separate schema files. Types are derived directly from TypeScript schema definitions, providing end-to-end type safety out of the box. forge-orm currently supports ten adapters spanning SQLite, PostgreSQL, MySQL, MongoDB, DuckDB, MSSQL, IndexedDB, and sqlite-wasm with OPFS, all sharing a single unified query interface. The project was built over several months by its author, motivated primarily by the difficulty of running Prisma in non-Node environments like Tauri-based desktop apps.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in