Skip to content
Agents tracked: 506 Releases (7d): 634 Agent status: 3 with issuesSince last limit reset: Claude 15d · Codex 0d For AI agents: Markdown Updated Nov 26, 2026

pg-mem

In-memory PostgreSQL implementation for testing without database setup.

TestingNPM

GitHubWebsite

1. License

License from npm.

github.com/oguimbal/pg-mem

From the package registry and GitHub, checked daily. Tap a verdict to see its source.How we checkedReport an error

What pg-mem does

In-memory PostgreSQL implementation for testing without database setup.

pg-mem popularity

41 / 100
Gid Score, #3006 overall
896K
downloads a week, npm
2,375
GitHub stars
3
agent projects use it
pg-mem: downloads per weeknpm, pg-mem 896,040
pg-mem: GitHub starsoguimbal/pg-mem 2,375

Gid Score measures public popularity and activity, not quality. How the Gid Score is calculated

How pg-mem is used

  • pg-mem joined the catalog on its public numbers (896,040 downloads a week on npm and 2,375 GitHub stars), not on our project count: it is a dependency in 5 public GitHub projects of our scan, 3 of them set up for AI coding agents.
  • The most used alternative in our scan is Jest (396 projects).
  • Projects that use it most often also use Zod (100.0%), pg (80.0%), react-markdown (80.0%).

Often used with

In 100.0% of its projects
In 80.0% of its projects
In 80.0% of its projects
In 80.0% of its projects
In 60.0% of its projects
In 60.0% of its projects
In 60.0% of its projects
In 60.0% of its projects

More about pg-mem

Funding
  • Patreon: https://patreon.com/oguimbal
  • Ko-fi: https://ko-fi.com/oguimbal

See all

More in Testing

Alternatives

pg-mem This page

MITGid 41896K/wk

Jest

Delightful JavaScript testing framework with minimal configuration.

MITGid 8663.2M/wk

Happy DOM

Lightweight DOM implementation for server-side rendering and testing without a browser.

MITGid 7137.8M/wk

Compare pg-mem with another tool

Get started

Install it.

npm install pg-mem

No step-by-step start for pg-mem yet: we have not written its hand-checked card.