Schemats is a TypeScript code generator that creates type definitions from existing PostgreSQL schemas. It helps developers working with raw SQL or query builders to maintain strong typing and avoid runtime errors. By analyzing database schemas, Schemats bridges the gap between relational databases and TypeScript-based applications.

Features

  • Generates TypeScript interfaces from PostgreSQL schemas
  • Supports tables, views, enums, and composite types
  • CLI tool for quick integration into build pipelines
  • Ideal for raw SQL and lightweight query builder use cases
  • Keeps type definitions in sync with schema changes
  • Reduces boilerplate and runtime type mismatches

Project Samples

Project Activity

See All Activity >

Categories

SQL Clients

License

MIT License

Follow schemats

schemats Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of schemats!

Additional Project Details

Operating Systems

Linux, Mac, Windows

Programming Language

TypeScript

Related Categories

TypeScript SQL Clients

Registered

2025-06-10