Squeeel

Make your raw SQL queries type-safe.

Squeeel is a CLI tool that analyzes your codebase to find all your raw SQL queries and automatically generates TypeScript types for both query parameters and return values. This means you get full type safety and autocompletion for your SQL queries without any runtime overhead or query builder complexity.

Features

  • 🔍 Automatically analyzes your codebase for SQL queries
  • ✨ Generates precise TypeScript types for query parameters and return values
  • 🚀 Zero runtime overhead - types are generated at build time
  • 🛡️ Catches SQL errors at compile time
  • 📝 Full IDE support with autocompletion and type hints
  • 🔄 Works with your existing raw SQL queries - no need to change your code

Getting started

  1. Install squeeel:
npm install ...

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help