DigiNews

Tech Watch by Johan Denoyer

← Back to articles

Show HN: Bun-sqlgen – Type-safe raw SQL for Bun, no ORM

Quality: 8/10 Relevance: 9/10

Summary

Bun-sqlgen provides a type-safe SQL layer for Bun using Bun.sql with codegen-generated typings. It eliminates ORM boilerplate while ensuring compile-time correctness against Postgres or SQLite, improving safety and speed of development. The article covers installation, a quick-start workflow, and how the codegen generates typings to catch schema issues at build time.

🚀 Service construit par Johan Denoyer