idb-client-generator
The simplicity of Prisma, emulated in IndexedDB.
0
Created on 3rd June 2026
•
idb-client-generator
The simplicity of Prisma, emulated in IndexedDB.
The problem idb-client-generator solves
Managing structured local storage in web apps is painful. IndexedDB's native API is verbose, low-level, and has no type safety or ergonomic query interface — making it hard to build reliable offline-first apps.
Challenges I ran into
Replicating Prisma's type-safe, fluent API surface on top of IndexedDB's async, cursor-based internals required careful generator design and extensive TypeScript work to keep the output fully typed and tree-shakeable.
Technologies used
Cheer Project
Cheering for a project means supporting a project you like with as little as 0.0025 ETH. Right now, you can Cheer using ETH on Arbitrum, Optimism and Base.
Discussion
Builders also viewed
See more projects on Devfolio
