{"id":13469535,"url":"https://github.com/ts-safeql/safeql","last_synced_at":"2026-01-26T21:22:37.671Z","repository":{"id":59047781,"uuid":"534079578","full_name":"ts-safeql/safeql","owner":"ts-safeql","description":"Validate and auto-generate TypeScript types from raw SQL queries in PostgreSQL.","archived":false,"fork":false,"pushed_at":"2026-01-13T12:31:30.000Z","size":3030,"stargazers_count":1525,"open_issues_count":24,"forks_count":29,"subscribers_count":6,"default_branch":"main","last_synced_at":"2026-01-16T20:14:58.982Z","etag":null,"topics":["eslint","eslint-plugin","javascript","lint","postgres","sql","typescript"],"latest_commit_sha":null,"homepage":"https://safeql.dev","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ts-safeql.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"github":["Newbie012"]}},"created_at":"2022-09-08T06:27:13.000Z","updated_at":"2026-01-16T08:17:53.000Z","dependencies_parsed_at":"2023-02-08T07:01:45.659Z","dependency_job_id":"57101e01-96db-45bc-aa60-07fd064a80d6","html_url":"https://github.com/ts-safeql/safeql","commit_stats":{"total_commits":229,"total_committers":12,"mean_commits":"19.083333333333332","dds":0.388646288209607,"last_synced_commit":"dda88cdc3a99db84bb9f2fbcd706ec66e6e7b4b1"},"previous_names":[],"tags_count":313,"template":false,"template_full_name":null,"purl":"pkg:github/ts-safeql/safeql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ts-safeql%2Fsafeql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ts-safeql%2Fsafeql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ts-safeql%2Fsafeql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ts-safeql%2Fsafeql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ts-safeql","download_url":"https://codeload.github.com/ts-safeql/safeql/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ts-safeql%2Fsafeql/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28788368,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-26T21:13:08.818Z","status":"ssl_error","status_checked_at":"2026-01-26T21:13:08.448Z","response_time":59,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["eslint","eslint-plugin","javascript","lint","postgres","sql","typescript"],"created_at":"2024-07-31T15:01:43.918Z","updated_at":"2026-01-26T21:22:37.638Z","avatar_url":"https://github.com/ts-safeql.png","language":"TypeScript","readme":"\u003cp align=\"center\"\u003e\n  \u003cimg src=\"/docs/public/safeql-og.jpg\"\u003e\n\u003c/p\u003e\n\u003cp align=\"center\"\u003e\n  SafeQL - Automatic Type Inference \u0026 Validation for PostgreSQL Queries • \u003ca href=\"https://safeql.dev\" height=\"50px\"\u003eGet started\u003c/a\u003e\n\u003c/p\u003e\n\n\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://www.npmjs.com/package/@ts-safeql/eslint-plugin\"\u003e\n    \u003cimg src=\"https://badge.fury.io/js/@ts-safeql%2Feslint-plugin.svg\" alt=\"npm version\" /\u003e\n  \u003c/a\u003e\n\u003c/p\u003e\n\nhttps://user-images.githubusercontent.com/10504365/192807716-6a4fcbc1-9dc8-4d3b-a63b-2c95c0061689.mp4\n\n## Features\n\n- #### ⚡️ Automatic Type Inference \u0026 Validation:\n  SafeQL automatically infers the type of the query result based on the query itself.\n\n- #### 🖖 Compatible With Popular SQL Libraries:\n  SafeQL works with any PostgreSQL client, including Prisma, Sequelize, pg, Postgres.js, and more.\n\n- #### 🛠️ Easy To Use\n  SafeQL was built in mind to be easy to use and integrate with your existing codebase.\n\n- #### 📦 Built with Monorepos \u0026 Microservices in mind:\n  SafeQL was built with monorepos and microservices in mind, and it's easy to use with multiple databases.\n\n## Install\n\nI would first recommend follow the instructions in the [documentation](https://www.safeql.dev/guide/getting-started.html).\n\n### Prerequisites\n\nSet up ESLint following [the `typescript-eslint` Getting Started docs](https://typescript-eslint.io/getting-started), to enable TypeScript language support in ESLint.\n\n```bash\nnpm install --save-dev @ts-safeql/eslint-plugin libpg-query\n```\n\n## Sponsors\n\n\u003cp align=\"center\"\u003e\n\t\u003ca href=\"https://github.com/sponsors/Newbie012\"\u003e\n\t\t\u003cimg src=\"https://cdn.jsdelivr.net/gh/newbie012/sponsors/sponsors.svg\"\u003e\n\t\u003c/a\u003e\n\u003c/p\u003e\n","funding_links":["https://github.com/sponsors/Newbie012"],"categories":["TypeScript","**1. Libraries**"],"sub_categories":["Database"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fts-safeql%2Fsafeql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fts-safeql%2Fsafeql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fts-safeql%2Fsafeql/lists"}