Skip to content
JS
Package

ts-sql-query

Type-safe SQL query builder like QueryDSL or JOOQ in Java or Linq in .Net for TypeScript with MariaDB, MySql, Oracle, PostgreSql, Sqlite and SqlServer support.

v1.68.0, 14 Jun 2026MIT-Types: NoneORMs and query buildersTypeScript tooling
$ npm install ts-sql-query

Key numbers

As of 25 Sept 2026
Weekly downloads
4.9k
-1% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
3 months ago
v1.68.0
GitHub stars
318
21 forks
Open issues / PRs
9 / 1
Contributors
-
Commits, last 52 weeks
586

Downloads

Last week 2026-09-15 to 2026-09-21
02.5k5k7.5k10kSept 2025Mar 2026Sept 2026High 9.1k (26 May 2026)Low 1.2k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

4,884 downloads last week, 24,185 in the last month. The 12-month change of -1% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.68.0, 14 Jun 20263 months ago
First published
-
Last push to GitHub
3 Sept 202621 days before the snapshot
Repository archived
No
Open issues
9
Open pull requests
1
Commits, last 52 weeks
586
Dependents on npm
7

Major versions

-

Recent releases

-

Module format
-Not determined from package.json
TypeScript types
None
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
2.5 MB
Dependencies (2)
chained-errorts-extended-types
npm install ts-sql-query
  • jsDelivrhttps://cdn.jsdelivr.net/npm/ts-sql-query@1.68.0/
  • unpkghttps://unpkg.com/ts-sql-query@1.68.0/
  • esm.shhttps://esm.sh/ts-sql-query@1.68.0
PackageWeekly downloadsGzipLast releaseModuleComparison
@prisma/client11.8m-30 days agoESM + CommonJS-
kysely12m-9 days agoESM only-
drizzle-orm16.3m-3 days agoESM + CommonJS-
drizzle-kit13.6m-3 days agoESM + CommonJS-
drizzle-zod2.2m-1 year agoESM + CommonJS-
drizzle-seed234.2k-1 year agoESM + CommonJS-
drizzle-typebox37.6k-1 year agoESM + CommonJS-
drizzle-valibot10.8k-1 year agoESM + CommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Not indexed (discovery only): downloads_week 4884 < 10000.