Skip to content
JS
Package

pgsql-ast-parser

Yet another simple Postgres SQL parser/modifier

v12.0.2, 27 Jan 2026MITCommonJSTypes: BundledDatabase clients and driversParsers and serialisers
$ npm install pgsql-ast-parser

Key numbers

As of 25 Sept 2026
Weekly downloads
768.5k
+315% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
2
Direct, from package.json
Last release
7 months ago
v12.0.2
GitHub stars
347
49 forks
Open issues / PRs
38 / 10
Contributors
-
Commits, last 52 weeks
2

Downloads

Last week 2026-09-15 to 2026-09-21
0500k1m1.5mSept 2025Mar 2026Sept 2026High 1m (25 Aug 2026)Low 117.3k (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.

768,479 downloads last week, 3,534,069 in the last month. The 12-month change of +315% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
1109 in total
Latest version
12.0.2, 27 Jan 20267 months ago
First published
10 Nov 2020
Last push to GitHub
27 Jan 2026240 days before the snapshot
Repository archived
No
Open issues
38
Open pull requests
10
Commits, last 52 weeks
2
Dependents on npm
69

Major versions

  1. v12 first release 12.0.0, 8 Jan 2024
  2. v11 first release 11.0.0, 7 Sept 2022
  3. v10 first release 10.0.0, 31 Mar 2022
  4. v9 first release 9.0.0, 28 Aug 2021
  5. v8 first release 8.0.0, 28 Apr 2021
  6. v7 first release 7.0.0, 3 Mar 2021
  7. v6 first release 6.0.0, 25 Feb 2021
  8. v5 first release 5.0.0, 9 Feb 2021
  9. v4 first release 4.0.0, 13 Jan 2021
  10. v3 first release 3.0.0, 5 Jan 2021
  11. v2 first release 2.0.0, 12 Dec 2020
  12. v1 first release 1.0.0, 10 Nov 2020

Recent releases

VersionPublished
12.0.227 Jan 2026
12.0.18 Jan 2024
12.0.08 Jan 2024
11.2.08 Jan 2024
11.1.05 Jun 2023
11.0.14 Jan 2023
11.0.07 Sept 2022
10.5.220 Jun 2022
10.5.120 Jun 2022
10.5.020 Jun 2022
10.4.015 Jun 2022
10.3.18 Jun 2022
10.3.08 Jun 2022
10.2.025 May 2022
Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
1.6 MB
Dependencies (2)
moonearley
npm install pgsql-ast-parser
  • jsDelivrhttps://cdn.jsdelivr.net/npm/pgsql-ast-parser@12.0.2/
  • unpkghttps://unpkg.com/pgsql-ast-parser@12.0.2/
  • esm.shhttps://esm.sh/pgsql-ast-parser@12.0.2
PackageWeekly downloadsGzipLast releaseModuleComparison
dt-sql-parser40k-1 month agoESM + CommonJS-
pg-tsquery31k-2 years ago--
@tinbase/pgsql-ast-parser18.3k-2 months agoCommonJS-
postgres12.2m-5 months agoESM only-
node-json-db11.9k-6 months agoCommonJS-
embedded-postgres372.2k-3 months agoESM only-
@appland/sql-parser27.2k-4 years agoCommonJS-
pg-logical-replication33.1k-3 months agoCommonJS-
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.