Skip to content
Proyectos

ts-safeql/safeql has 1,574 GitHub stars and 38 forks. GitHot measured +3 in 7 days and +4 in 15 days. Last checked 2026-11-13 17:19 UTC. Last push 2026-10-27.

Cómo se miden estas cifras

What you can do

  • ⚡️ Automatic Type Inference & Validation: SafeQL automatically infers the type of the query result based on the query itself.

Crecimiento de estrellas medido

in 24h
Actualización retrasada
in 7 days
+3
in 15 days
+4
in 1 month
Recopilando historial

Cambios netos en períodos que se solapan, no totales diarios. Los datos no disponibles se dejan en blanco. Las estrellas indican interés, no calidad.

Acerca de

Validate and auto-generate TypeScript types from raw SQL queries in PostgreSQL.

Datos

README.md

Original

SafeQL - Automatic Type Inference & Validation for PostgreSQL Queries • Get started

npm version

https://user-images.githubusercontent.com/10504365/192807716-6a4fcbc1-9dc8-4d3b-a63b-2c95c0061689.mp4

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

Sponsors

Explorar proyectos relacionados