azure-postgres-ts - Connect TypeScript apps to Azure PostgreSQL
Provides TypeScript patterns for connecting to Azure Database for PostgreSQL with node-postgres, password or Microsoft Entra authentication, pooling, queries, and transactions.
Tags
Updated: 2026-10-02Capabilities
Typical Inputs
Typical Outputs
What this skill does
- Configure PostgreSQL connections
- Authenticate with passwords
- Authenticate with Microsoft Entra ID
- Manage connection pools
- Run parameterized queries
- Execute database transactions
- Type query results
Inputs
- Azure PostgreSQL connection variables
- Database credentials or identity
- SQL queries
- Query parameters
- TypeScript project
Outputs
- TypeScript connection code
- Database query results
- Transaction outcomes
- Structured implementation guidance
Requirements
- Node.js and TypeScript environment
- pg package
- @azure/identity package
- @types/pg package
- Azure PostgreSQL access
- Valid database authentication
