Skip to content
JS
Package

libpg-query

The real PostgreSQL query parser

v18.1.5, 17 Sept 2026MITESM + CommonJSTypes: BundledDatabase clients and drivers
$ npm install libpg-query

Key numbers

As of 25 Sept 2026
Weekly downloads
678.2k
+737% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
1
Direct, from package.json
Last release
7 days ago
v18.1.5
GitHub stars
78
31 forks
Open issues / PRs
1 / 5
Contributors
-
Commits, last 52 weeks
98

Downloads

Last week 2026-09-15 to 2026-09-21
0250k500k750k1mSept 2025Mar 2026Sept 2026High 819.3k (8 Sept 2026)Low 51.8k (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.

678,215 downloads last week, 2,909,260 in the last month. The 12-month change of +737% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
30112 in total
Latest version
18.1.5, 17 Sept 20267 days ago
First published
19 Mar 2021
Last push to GitHub
17 Sept 20267 days before the snapshot
Repository archived
No
Open issues
1
Open pull requests
5
Commits, last 52 weeks
98
Dependents on npm
47

Major versions

  1. v18 first release 18.0.0, 22 May 2026
  2. v17 first release 17.0.0, 15 Apr 2025
  3. v16 first release 16.0.0, 20 Feb 2024
  4. v15 first release 15.0.0, 22 Dec 2022
  5. v14 first release 14.0.0, 22 Dec 2022
  6. v13 first release 13.0.0, 19 Mar 2021

Recent releases

VersionPublished
18.1.517 Sept 2026
18.1.43 Aug 2026
18.1.33 Aug 2026
18.1.221 Jul 2026
18.1.121 Jul 2026
18.1.021 Jul 2026
18.0.221 Jul 2026
17.7.421 Jul 2026
18.0.122 May 2026
18.0.022 May 2026
13.7.311 Dec 2025
14.4.311 Dec 2025
15.6.311 Dec 2025
16.7.311 Dec 2025
Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
1.7 MB
Dependencies (1)
@pgsql/types
npm install libpg-query
  • jsDelivrhttps://cdn.jsdelivr.net/npm/libpg-query@18.1.5/
  • unpkghttps://unpkg.com/libpg-query@18.1.5/
  • esm.shhttps://esm.sh/libpg-query@18.1.5
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.