Articles for the Database tag
-
PGlite: Real Postgres in Your Browser, No Server Required
Postgres has lived on servers for decades. PGlite compiles it straight to WebAssembly so the real thing runs wherever your JavaScript does.
-
TinyBase: A Tiny Store With Surprisingly Big Ideas
Most state libraries give you a bucket to hold data. TinyBase gives you a tiny relational engine with reactive bindings, a query language, persistence, and conflict-free sync — all in a handful of kilobytes.
-
RxDB: The Reactive Database That Lives Inside Your App
Most web apps treat the network as their source of truth. RxDB flips that around: the database lives on the client, reads and writes are instant, and your UI reacts to data changes on its own.
-
Kysely: SQL With Types That Actually Have Your Back
If you love SQL but hate hand-maintaining result types, Kysely sits in exactly the right spot: SQL-shaped queries with end-to-end type inference and no ORM magic.
-
Taming Messy SQL with sql-formatter
Every codebase eventually accumulates SQL that looks like a ransom note. Here is the tiny, dependable library that makes it readable again.
-
Convex: Your Backend, Reactive and Typed All the Way Down
Building a live-updating app usually means stitching together a database, an API, a websocket layer, a cache, and a way to share types. Convex collapses all of that into one TypeScript codebase.
-
sql.js: The Entire SQLite Engine Running in Your Browser Tab
What if you could run a full relational database in your browser without a server, a network connection, or a single native binary? sql.js takes the legendary SQLite engine, compiles it to WebAssembly, and hands you the entire SQL dialect right in JavaScript. Fourteen years of battle-tested reliability, zero dependencies.