finds.dev← search

// the find

supabase/postgrest-js

★ 1,237 · TypeScript · MIT · updated Jan 2026

The postgrest-js repo now has a new home: https://github.com/supabase/supabase-js/tree/master/packages/core/postgrest-js

postgrest-js is a TypeScript client for PostgREST, the tool that turns a Postgres database into a REST API. This repo is now just a redirect — all active development moved to the supabase-js monorepo. If you're evaluating it as a standalone library, you're looking at the wrong place.

The select-query parser is genuinely sophisticated — it parses PostgREST's relationship syntax at the type level, so TypeScript knows the shape of nested joins at compile time. The builder pattern chains filters, transforms, and pagination in a way that mirrors SQL closely enough to feel intuitive. Test coverage is thorough, with both type-level tests (tstyche) and integration tests against a real Postgres instance via Docker. The package is still published as @supabase/postgrest-js so existing installs don't break despite the repo move.

This repo is a dead end — issues, PRs, and development all happen in supabase-js now, so anything you find here is frozen history, not the current state. The monorepo migration means the git history for recent changes lives elsewhere, which is annoying when bisecting bugs. The library is tightly coupled to Supabase's auth and storage ecosystem; using postgrest-js against a self-hosted PostgREST instance without the rest of Supabase requires working around assumptions baked in for Supabase's token/header conventions. Type inference on complex multi-level joins can still produce `any` in edge cases.

View on GitHub → Homepage ↗

// want more like this?

We dig through GitHub every week and send a few repos picked for what you actually care about — each with an honest take like this one.

Get finds in your inbox → Search again →