# event-driven-io/Pongo

Pongo - Mongo but on Postgres and with strong consistency benefits

Repository: https://github.com/event-driven-io/Pongo
Canonical: https://ross.abutalabs.com/products/pongo
Homepage: https://event-driven-io.github.io/Pongo/
Language: TypeScript
License: Apache-2.0
License Family: permissive
Topics: mogodb, nodejs, postgresql, typescript
Last push: 2026-08-21T11:21:12+00:00

## Health v2 (maintenance only)
Score: 79/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 98, release rhythm 69, longevity 56
- inputs: {"age_days": 789, "days_push": 12, "days_rel": 204, "gap_med": 5, "n_releases_24m": 16}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1376, forks 41 (observed 2026-08-28T04:04:33.303948+00:00)

## What it is
Pongo is a TypeScript library that provides a MongoDB-compatible document API backed by PostgreSQL, offering strong consistency guarantees. It supports both a typed Pongo client and a MongoDB-compliant shim so existing Mongo-style code can run on Postgres.

## Use cases
- use MongoDB syntax but store data in PostgreSQL
- migrate a Node.js app from MongoDB to Postgres without rewriting queries
- get strong consistency guarantees for document storage
- store JSON documents in Postgres with typed collections
- replace MongoDB with an existing Postgres infrastructure

## When to choose
- you want Mongo-like developer experience with PostgreSQL reliability
- your team already runs Postgres and wants document-style queries
- you need strong consistency that MongoDB deployments may not provide
- you want TypeScript-typed document collections

## When to avoid
- you need MongoDB-specific features like replica sets, sharding, or aggregation pipelines beyond the supported subset
- you want a pure document database without operating Postgres
- your project is not on Node.js/TypeScript

## Facets
- artifact type: library
- maturity: active
- function: database-driver, orm, database
- domain: databases, backend, developer-tools
- platform: -
- tags: mongodb-compatible, postgres, document-database, strong-consistency, mongo-shim, nodejs, typescript, postgresql

## Member repositories
- event-driven-io/Pongo (main) score 79

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:04:33.303948+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T04:40:29.285826+00:00, confidence not recorded.
  - readme: https://github.com/event-driven-io/Pongo (fetched 2026-08-28T04:04:33.303948+00:00, sha 0a351347913b)
  - homepage: https://event-driven-io.github.io/Pongo/ (fetched 2026-08-29T11:56:57.060451+00:00, sha cb8fd277d3d2)
- Data as of 2026-08-30T08:39:29.467469+00:00.
