Show HN: KnexBridge – Generate TypeScript and Zod Types from Knex DB
github.com·2h·
Discuss: Hacker News
Flag this post

KnexBridge

Generate Types. Validate Everything.

KnexBridge bridges relational databases and TypeScript applications by introspecting your schema, generating fully typed models, and producing runtime validation assets. It is designed for teams that rely on Knex.js for migrations and queries but want stronger guarantees across API layers, services, and front-end clients.

Introduction

KnexBridge automates the path from database schema to application code. By combining schema introspection, naming strategies, and template-driven code generation, it delivers TypeScript interfaces, insert/update helpers, and Zod validators that stay accurate with every migration. Engineers, data teams, and API builders who work with Knex.js can integrate it into CI pipelines or run it on dem…

Similar Posts

Loading similar posts...