{"library":"trader-pgsql-ast-parser","type":"library","category":null,"description":"A TypeScript Postgres SQL syntax parser that produces a typed AST (Abstract Syntax Tree) covering common PostgreSQL syntaxes. Current stable version is 10.5.10, released frequently with CI. Key differentiators: works in both Node.js and browser, provides typed ASTs for TypeScript users, includes AST visitors/mappers for traversal and modification, and supports converting AST back to SQL. It does not support PL/pgSQL and may not cover all edge cases. Built primarily for pg-mem, an in-memory PostgreSQL emulator.","language":"javascript","status":"active","version":"10.5.10","tags":["javascript","postgres","db","database","pg","sql","pgsql","postgresql","node","typescript"],"last_verified":"Fri Jun 05","install":[{"cmd":"npm install trader-pgsql-ast-parser","imports":["import { parse } from 'pgsql-ast-parser'","import { parseFirst } from 'pgsql-ast-parser'","import { toSql } from 'pgsql-ast-parser'","import { astVisitor } from 'pgsql-ast-parser'","import { astMapper } from 'pgsql-ast-parser'","import type { Statement } from 'pgsql-ast-parser'"]},{"cmd":"yarn add trader-pgsql-ast-parser","imports":[]},{"cmd":"pnpm add trader-pgsql-ast-parser","imports":[]}],"homepage":"https://github.com/oguimbal/pgsql-ast-parser#readme","github":"https://github.com/oguimbal/pgsql-ast-parser","docs":null,"changelog":null,"pypi":null,"npm":"trader-pgsql-ast-parser","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}