TypeORM Postgres Naming Strategies

JSON →
library 3.0.2 ·javascript
verified Jun 5, 2026

Strict snake_case naming strategy for TypeORM targeting PostgreSQL. Current stable version 3.0.2, released as needed. Automatically converts camelCase entity property names (e.g., createdAt) to snake_case database columns (created_at) in tables, relations, and indexes. Lightweight — only one strategy class (PostgresNamingStrategy). Unlike generic naming strategy packages, it adheres strictly to PostgreSQL naming conventions and is tested against TypeORM 0.2 and 0.3. Ships TypeScript definitions and supports both ESM and CJS.