{
 "kind": "tool",
 "slug": "postgres",
 "path": "tools/postgres/",
 "name": "postgres",
 "maker": null,
 "density": "basic",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "HTTP clients and networking",
   "tools/http-clients/"
  ]
 ],
 "lead": "Fast, full-featured PostgreSQL client for Node.js with real-time subscriptions.",
 "chips": [
  {
   "label": "HTTP clients and networking",
   "path": "tools/http-clients/"
  },
  {
   "label": "NPM"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "npm install postgres"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/porsager/postgres"
  },
  {
   "label": "Website",
   "href": "https://github.com/porsager/postgres#readme"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "Unlicense",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from npm.",
   "src": "https://github.com/porsager/postgres"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 23, 2026",
   "note": "Latest GitHub release Nov 11, 2026. ",
   "src": "https://github.com/porsager/postgres"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "126 projects",
   "status": "info",
   "sub": "#5 of 126 in its category",
   "note": "Dependency in 126 public GitHub projects set up for AI coding agents that we scanned (2.0%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Community skills",
   "status": "info",
   "sub": "3 skills by others",
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What postgres does",
   "parts": [
    {
     "t": "prose",
     "text": "Fast, full-featured PostgreSQL client for Node.js with real-time subscriptions."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "postgres popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "76",
       "of": "/ 100",
       "l": "Gid Score, #175 overall"
      },
      {
       "n": "37.9M",
       "l": "downloads a week, npm"
      },
      {
       "n": "8,768",
       "l": "GitHub stars"
      },
      {
       "n": "126",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How postgres is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "postgres is a dependency in 126 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (2.6% of the 4,867 JavaScript/TypeScript ones), #5 of 126 in http clients and networking.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 328; those are left out of every share on this page.",
      "Projects that use it most often also use Drizzle ORM (78.6%), Drizzle Kit (74.6%), Zod (80.2%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "81 projects, 2.5%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "62 projects, 2.5%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "56 projects, 1.8%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "12 projects, 2.5%",
       "v": "Gemini CLI",
       "path": "agents/gemini-cli/"
      },
      {
       "l": "10 projects, 2.9%",
       "v": "OpenCode",
       "path": "agents/opencode/"
      },
      {
       "l": "9 projects, 1.9%",
       "v": "OpenAI Codex",
       "path": "agents/openai-codex/"
      },
      {
       "l": "8 projects, 2.9%",
       "v": "Devin Desktop",
       "path": "agents/devin-desktop/"
      },
      {
       "l": "5 projects, 1.5%",
       "v": "OpenClaw",
       "path": "agents/openclaw/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 78.6% of its projects",
       "v": "Drizzle ORM",
       "path": "tools/drizzle-orm/"
      },
      {
       "l": "In 74.6% of its projects",
       "v": "Drizzle Kit",
       "path": "tools/drizzle-kit/"
      },
      {
       "l": "In 80.2% of its projects",
       "v": "Zod",
       "path": "tools/zod/"
      },
      {
       "l": "In 57.9% of its projects",
       "v": "dotenv",
       "path": "tools/dotenv/"
      },
      {
       "l": "In 56.3% of its projects",
       "v": "tsx",
       "path": "tools/tsx/"
      },
      {
       "l": "In 54.0% of its projects",
       "v": "Next.js",
       "path": "tools/next/"
      },
      {
       "l": "In 95.2% of its projects",
       "v": "TypeScript",
       "path": "tools/typescript/"
      },
      {
       "l": "In 50.8% of its projects",
       "v": "Class Variance Authority",
       "path": "tools/class-variance-authority/"
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "usage",
   "h2": "More about postgres",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Funding",
       "path": "tools/funding/",
       "items": [
        "GitHub Sponsors: https://github.com/sponsors/porsager",
        "6 GitHub sponsors"
       ]
      },
      {
       "title": "Agent Skills for it",
       "path": "skills/",
       "items": [
        "postgres-pro: Use when optimizing PostgreSQL queries, configuring replication, or implementing advanced database features. Invoke for EXPLAIN analysis, JS",
        "postgres-optimization: PostgreSQL optimization including indexes, query plans, partitioning, JSONB operations, and connection pooling",
        "postgres-database-migration: Use this skill for planning, testing, and safely executing PostgreSQL schema migrations — especially when working with production data or sh"
       ]
      },
      {
       "title": "More in HTTP clients and networking",
       "path": "tools/http-clients/",
       "items": [
        {
         "text": "Axios",
         "path": "tools/axios/"
        },
        {
         "text": "Requests",
         "path": "tools/requests-py/"
        },
        {
         "text": "httpx",
         "path": "tools/httpx/"
        },
        {
         "text": "ws",
         "path": "tools/ws/"
        },
        {
         "text": "aiohttp",
         "path": "tools/aiohttp/"
        },
        {
         "text": "websockets",
         "path": "tools/websockets/"
        },
        {
         "text": "redis (Python)",
         "path": "tools/redis-pypi/"
        },
        {
         "text": "undici",
         "path": "tools/undici/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "postgres",
       "me": true,
       "facts": [
        "Unlicense",
        "Gid 76",
        "37.9M/wk"
       ]
      }
     ],
     "more": "Compare postgres with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "npm install postgres"
    },
    {
     "t": "gap",
     "text": "No step-by-step start for postgres yet: we have not written its hand-checked card."
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "npm postgres"
  ],
  [
   "Category",
   "HTTP clients and networking"
  ],
  [
   "License",
   "Unlicense"
  ],
  [
   "Gid Score",
   "76.1"
  ],
  [
   "Rank in category",
   "#5 of 126"
  ],
  [
   "GitHub",
   "porsager/postgres"
  ],
  [
   "Last change",
   "Nov 23, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/porsager.png"
}