pg-god: PostgreSQL Database Management

JSON →
library 1.0.12 ·javascript
verified May 27, 2026

pg-god is a focused JavaScript/TypeScript library (current stable version 1.0.12) designed to simplify the creation and deletion of PostgreSQL databases, both programmatically and via a command-line interface. Its primary function is to manage database lifecycles, often in development or testing environments where databases need to be frequently spun up and torn down. Key differentiators include its minimalist API for direct database creation/dropping, support for connection URLs (added in v1.0.9), and a default behavior since v1.0.6 to automatically terminate active connections before dropping a database, preventing common errors. It also provides explicit integration guidance for TypeORM users. The project appears to have a moderate release cadence, with recent updates refining CLI behavior and adding new features.

total hits 55
actors 12 distinct systems
last hit 15h ago human
ByteDance
8
Amazonbot
4
MetaBot
4
GPTBot
2
Script
2
ClaudeBot
1
PerplexityBot
1
Search engines
2
Humans
15

top countries 🇺🇸 United States · 🇩🇪 Germany · 🇸🇬 Singapore · 🇫🇷 France · 🇨🇦 Canada