ts-safeql/safeql
ts-safeql/safeql has 1,574 GitHub stars and 38 forks. GitHot measured -1 stars in 24 hours, 0 in 7 days, and +3 in 15 days. Last checked 2026-11-20 08:53 UTC. Last push 2026-11-18.
可以做什么
- ⚡️ Automatic Type Inference & Validation: SafeQL automatically infers the type of the query result based on the query itself.
实测星标增长
- 24小时
- -1
- 7天
- 0
- 15天
- +3
- 1个月
- 正在收集历史
各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。
关于
Validate and auto-generate TypeScript types from raw SQL queries in PostgreSQL.
数据README.md
原文
SafeQL - Automatic Type Inference & Validation for PostgreSQL Queries • Get started
Features
⚡️ Automatic Type Inference & Validation:
SafeQL automatically infers the type of the query result based on the query itself.
🖖 Compatible With Popular SQL Libraries:
SafeQL works with any PostgreSQL client, including Prisma, Sequelize, pg, Postgres.js, and more.
🛠️ Easy To Use
SafeQL was built in mind to be easy to use and integrate with your existing codebase.
📦 Built with Monorepos & Microservices in mind:
SafeQL was built with monorepos and microservices in mind, and it's easy to use with multiple databases.
Install
I would first recommend follow the instructions in the documentation.
Prerequisites
Set up ESLint following the typescript-eslint Getting Started docs, to enable TypeScript language support in ESLint.
npm install --save-dev @ts-safeql/eslint-plugin libpg-query