{"_id":"@pgsql/semantics","_rev":"7-cdc4ffcbea7c1e728ba7e27d73fc894a","name":"@pgsql/semantics","dist-tags":{"latest":"18.1.9"},"versions":{"18.1.0":{"name":"@pgsql/semantics","version":"18.1.0","keywords":["sql","postgres","postgresql","pg","ast","semantics","facts","classify","plpgsql"],"author":"Constructive <developers@constructive.io>","license":"MIT","_id":"@pgsql/semantics@18.1.0","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"homepage":"https://github.com/constructive-io/pgsql-parser","bugs":{"url":"https://github.com/constructive-io/pgsql-parser/issues"},"dist":{"shasum":"c317e221ffc3f263ed3bf5d181f8603606b34a54","tarball":"https://registry.npmjs.org/@pgsql/semantics/-/semantics-18.1.0.tgz","fileCount":9,"integrity":"sha512-7QewtC6GgnSy8lLWeZUfKfurz7V3YdVWgKPkwlFOiSaDoinwVbmyfZxyK1qtTE8//wUW1gVoybc0ARNnBMyH8w==","signatures":[{"sig":"MEYCIQCR+CUIsqBRkGBuOgCPTAm27CkWZYGXLKQ2eNjf4aCBXQIhALSYN8TyAo42+GDj6lsqwALayaQLlAl34YqZH2C0B4GD","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44961},"main":"index.js","types":"index.d.ts","module":"esm/index.js","gitHead":"0fba1b6faf8067bfd5f1591656c2a90f77c280b0","scripts":{"copy":"makage assets","lint":"eslint . --fix","test":"jest","build":"npm run clean && tsc && tsc -p tsconfig.esm.json && npm run copy","clean":"makage clean dist","build:dev":"npm run clean && tsc --declarationMap && tsc -p tsconfig.esm.json && npm run copy","test:watch":"jest --watch","prepublishOnly":"npm run build"},"_npmUser":{"name":"pyramation","email":"pyramation@gmail.com"},"repository":{"url":"https://github.com/constructive-io/pgsql-parser","type":"git"},"_npmVersion":"lerna/8.2.4/node@v22.13.1+arm64 (darwin)","description":"AST-derived semantic facts for PostgreSQL statements: what each statement creates, references, and touches","directories":{},"_nodeVersion":"22.13.1","dependencies":{"plpgsql-parser":"18.5.1","@pgsql/traverse":"18.7.1"},"publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{"makage":"^0.1.8"},"_npmOperationalInternal":{"tmp":"tmp/semantics_18.1.0_1785685302193_0.9469425547333308","host":"s3://npm-registry-packages-npm-production"}},"18.1.1":{"name":"@pgsql/semantics","version":"18.1.1","keywords":["sql","postgres","postgresql","pg","ast","semantics","facts","classify","plpgsql"],"author":"Constructive <developers@constructive.io>","license":"MIT","_id":"@pgsql/semantics@18.1.1","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"homepage":"https://github.com/constructive-io/pgsql-parser","bugs":{"url":"https://github.com/constructive-io/pgsql-parser/issues"},"dist":{"shasum":"921eaad27e5b09fb72195730edc97ff70656adf5","tarball":"https://registry.npmjs.org/@pgsql/semantics/-/semantics-18.1.1.tgz","fileCount":9,"integrity":"sha512-IFJmrJFsWFyViokEzu3VhIp/xXpUuCxyp4CaMzhiq/cZugpPLz6LuoKPoFAhmu3wVRgWNUJVObmehBzTHZM+Jg==","signatures":[{"sig":"MEQCIFqVrGYUNOk849tw94/NvymlvkrbIX7+h8T8BzfRSNj8AiBmCdqHJfrSg7kFO/CATQ1c5GZrXzpItVVlCDFh0oGHFA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44961},"main":"index.js","types":"index.d.ts","module":"esm/index.js","gitHead":"bc21e590439743a236da9757adf2d43d34432710","scripts":{"copy":"makage assets","lint":"eslint . --fix","test":"jest","build":"npm run clean && tsc && tsc -p tsconfig.esm.json && npm run copy","clean":"makage clean dist","build:dev":"npm run clean && tsc --declarationMap && tsc -p tsconfig.esm.json && npm run copy","test:watch":"jest --watch","prepublishOnly":"npm run build"},"_npmUser":{"name":"pyramation","email":"pyramation@gmail.com"},"repository":{"url":"https://github.com/constructive-io/pgsql-parser","type":"git"},"_npmVersion":"lerna/8.2.4/node@v22.13.1+arm64 (darwin)","description":"AST-derived semantic facts for PostgreSQL statements: what each statement creates, references, and touches","directories":{},"_nodeVersion":"22.13.1","dependencies":{"plpgsql-parser":"18.5.2","@pgsql/traverse":"18.7.2"},"publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{"makage":"^0.1.8"},"_npmOperationalInternal":{"tmp":"tmp/semantics_18.1.1_1785711206883_0.865914982550831","host":"s3://npm-registry-packages-npm-production"}},"18.1.2":{"name":"@pgsql/semantics","version":"18.1.2","keywords":["sql","postgres","postgresql","pg","ast","semantics","facts","classify","plpgsql"],"author":"Constructive <developers@constructive.io>","license":"MIT","_id":"@pgsql/semantics@18.1.2","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"homepage":"https://github.com/constructive-io/pgsql-parser","bugs":{"url":"https://github.com/constructive-io/pgsql-parser/issues"},"dist":{"shasum":"d98738d2de0ac10e20e53b9c9534a96e7b97a578","tarball":"https://registry.npmjs.org/@pgsql/semantics/-/semantics-18.1.2.tgz","fileCount":9,"integrity":"sha512-4apiHKK4u5vAEzZSpYtLcS60AQ3PzvQJIK5zBHZD3mB4jjd0wFbEyUM3I/c3PXhybQYV0iadXJh+De4Wj8Z5oA==","signatures":[{"sig":"MEUCIQCo2MxYsRXzm1UAADWj0R/k/85eXdzyNFZKsBb1ZZAnDQIgZcABN7OUPQH5G5L9KdEvHZN96L7CvhUBH8D4zp9gOXA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44961},"main":"index.js","types":"index.d.ts","module":"esm/index.js","gitHead":"b6105874628cc7b8517c1ebbd99e9ad6fe786976","scripts":{"copy":"makage assets","lint":"eslint . --fix","test":"jest","build":"npm run clean && tsc && tsc -p tsconfig.esm.json && npm run copy","clean":"makage clean dist","build:dev":"npm run clean && tsc --declarationMap && tsc -p tsconfig.esm.json && npm run copy","test:watch":"jest --watch","prepublishOnly":"npm run build"},"_npmUser":{"name":"pyramation","email":"pyramation@gmail.com"},"repository":{"url":"https://github.com/constructive-io/pgsql-parser","type":"git"},"_npmVersion":"lerna/8.2.4/node@v22.13.1+arm64 (darwin)","description":"AST-derived semantic facts for PostgreSQL statements: what each statement creates, references, and touches","directories":{},"_nodeVersion":"22.13.1","dependencies":{"plpgsql-parser":"18.5.3","@pgsql/traverse":"18.7.3"},"publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{"makage":"^0.5.1"},"_npmOperationalInternal":{"tmp":"tmp/semantics_18.1.2_1785738543466_0.30602735693152416","host":"s3://npm-registry-packages-npm-production"}},"18.1.6":{"name":"@pgsql/semantics","version":"18.1.6","keywords":["sql","postgres","postgresql","pg","ast","semantics","facts","classify","plpgsql"],"author":{"name":"Constructive","email":"developers@constructive.io"},"license":"MIT","_id":"@pgsql/semantics@18.1.6","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"homepage":"https://github.com/constructive-io/pgsql-parser","bugs":{"url":"https://github.com/constructive-io/pgsql-parser/issues"},"dist":{"shasum":"c3707b636e86ee7fb771f44b942fffd63ca387be","tarball":"https://registry.npmjs.org/@pgsql/semantics/-/semantics-18.1.6.tgz","fileCount":9,"integrity":"sha512-ZdB+vBR+THE8JfwpGJ/A/Fw7s4fARXtk1yiIzeoK2BXtEiqem9UBR1GGL9+mKLu4+zvxYaeelhQQZKFXNu1KQA==","signatures":[{"sig":"MEQCIDtcXycB8MlW81wYCNA4vS5YAOlXV2LkJkWK/7qPEcfZAiAb4+ZK8Xq8EcHK+Ugi5lg3/XrXK6QuuWKCiLfiigjdtA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44961},"main":"index.js","types":"index.d.ts","module":"esm/index.js","gitHead":"30547f42aa4eb3b5677701b921cca23378452b0d","scripts":{"copy":"makage assets","lint":"eslint . --fix","test":"jest","build":"npm run clean && tsc && tsc -p tsconfig.esm.json && npm run copy","clean":"makage clean dist","build:dev":"npm run clean && tsc --declarationMap && tsc -p tsconfig.esm.json && npm run copy","test:watch":"jest --watch","prepublishOnly":"npm run build"},"_npmUser":{"name":"pyramation","email":"pyramation@gmail.com"},"repository":{"url":"git+https://github.com/constructive-io/pgsql-parser.git","type":"git"},"_npmVersion":"lerna/10.0.0/node@v22.13.1+arm64 (darwin)","description":"AST-derived semantic facts for PostgreSQL statements: what each statement creates, references, and touches","directories":{},"_nodeVersion":"22.13.1","dependencies":{"plpgsql-parser":"18.5.7","@pgsql/traverse":"18.7.7"},"publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{"makage":"^0.5.1"},"_npmOperationalInternal":{"tmp":"tmp/semantics_18.1.6_1786140185416_0.7278231038899476","host":"s3://npm-registry-packages-npm-production"}},"18.1.7":{"name":"@pgsql/semantics","version":"18.1.7","keywords":["sql","postgres","postgresql","pg","ast","semantics","facts","classify","plpgsql"],"author":{"name":"Constructive","email":"developers@constructive.io"},"license":"MIT","_id":"@pgsql/semantics@18.1.7","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"homepage":"https://github.com/constructive-io/pgsql-parser","bugs":{"url":"https://github.com/constructive-io/pgsql-parser/issues"},"dist":{"shasum":"a97045335787af1028dab0db62dbe8372e21fde3","tarball":"https://registry.npmjs.org/@pgsql/semantics/-/semantics-18.1.7.tgz","fileCount":9,"integrity":"sha512-rBxGKGiCICNrKayGs128oZLEOk7V8NGWoMeenH8Dv7RT59SVSYz/l/AWJPsLwMwxqqMK0dR151GEz7u2Ggz9DA==","signatures":[{"sig":"MEQCIFl2GEjuzl918+eBI5l1+NQkSzpQOraGxil9JnEQ+cBvAiANbFhJ8OAUQEp+xpZBdLh4zvCFt+bCsZ3ofGQg1ML7bA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44961},"main":"index.js","types":"index.d.ts","module":"esm/index.js","gitHead":"0a734eba1425f7a1c15c3fc67550a81a5fbcba01","scripts":{"copy":"makage assets","lint":"eslint . --fix","test":"jest","build":"npm run clean && tsc && tsc -p tsconfig.esm.json && npm run copy","clean":"makage clean dist","build:dev":"npm run clean && tsc --declarationMap && tsc -p tsconfig.esm.json && npm run copy","test:watch":"jest --watch","prepublishOnly":"npm run build"},"_npmUser":{"name":"pyramation","email":"pyramation@gmail.com"},"repository":{"url":"git+https://github.com/constructive-io/pgsql-parser.git","type":"git"},"_npmVersion":"lerna/10.0.0/node@v24.19.0+arm64 (darwin)","description":"AST-derived semantic facts for PostgreSQL statements: what each statement creates, references, and touches","directories":{},"_nodeVersion":"24.19.0","dependencies":{"plpgsql-parser":"18.5.8","@pgsql/traverse":"18.7.8"},"publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{"makage":"^0.5.1"},"_npmOperationalInternal":{"tmp":"tmp/semantics_18.1.7_1787111434498_0.6378047564610354","host":"s3://npm-registry-packages-npm-production"}},"18.1.8":{"name":"@pgsql/semantics","version":"18.1.8","keywords":["sql","postgres","postgresql","pg","ast","semantics","facts","classify","plpgsql"],"author":{"name":"Constructive","email":"developers@constructive.io"},"license":"MIT","_id":"@pgsql/semantics@18.1.8","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"homepage":"https://github.com/constructive-io/pgsql-parser","bugs":{"url":"https://github.com/constructive-io/pgsql-parser/issues"},"dist":{"shasum":"36b726c309c0dd392b343193a33acda714a53c3e","tarball":"https://registry.npmjs.org/@pgsql/semantics/-/semantics-18.1.8.tgz","fileCount":9,"integrity":"sha512-aQT8GNyq+S0sXD7VRF5VzcJn5MOPD/Or3CUSJvOa5vlpat/jmVofc51/UwPRMbfTsLrTdGrJhlHZDWvWIUjT4w==","signatures":[{"sig":"MEUCIQCz5rNmPnKjx7b2GjI3h/W1Fo1oKQkA7Leu2knvuVu6bAIgCxkcyqcc8hhRfTy0mFwx+Q/aJnkdu7JBt8fzoziklIA=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":44961},"main":"index.js","types":"index.d.ts","module":"esm/index.js","gitHead":"d8a34a60dacf1b7d5ba6e7443e2438ff049b6a56","scripts":{"copy":"makage assets","lint":"eslint . --fix","test":"jest","build":"npm run clean && tsc && tsc -p tsconfig.esm.json && npm run copy","clean":"makage clean dist","build:dev":"npm run clean && tsc --declarationMap && tsc -p tsconfig.esm.json && npm run copy","test:watch":"jest --watch","prepublishOnly":"npm run build"},"_npmUser":{"name":"pyramation","email":"pyramation@gmail.com"},"repository":{"url":"git+https://github.com/constructive-io/pgsql-parser.git","type":"git"},"_npmVersion":"lerna/10.0.0/node@v24.19.0+arm64 (darwin)","description":"AST-derived semantic facts for PostgreSQL statements: what each statement creates, references, and touches","directories":{},"_nodeVersion":"24.19.0","dependencies":{"plpgsql-parser":"18.5.9","@pgsql/traverse":"18.7.9"},"publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{"makage":"^0.5.1"},"_npmOperationalInternal":{"tmp":"tmp/semantics_18.1.8_1789631716935_0.7878155514981486","host":"s3://npm-registry-packages-npm-production"}},"18.1.9":{"_id":"@pgsql/semantics@18.1.9","bugs":{"url":"https://github.com/constructive-io/pgsql-parser/issues"},"dist":{"shasum":"b2e6f0c74dc23a1f8cee915e7b7702554140b7c1","tarball":"https://registry.npmjs.org/@pgsql/semantics/-/semantics-18.1.9.tgz","fileCount":9,"integrity":"sha512-Crd9/rfgyxwJmT1ZCqmG6hRhCLEfKxYr3TFdtQcwFY3YkrPiTxx0NlCRklrS7qwMg+Y69tYyKXx4dYUbN/xfrA==","signatures":[{"sig":"MEYCIQCXzEOg7u/XlndpFEauMsdyIy7LOtUxPntUHBAl7Ss3kgIhAM2IXi6VkxjW/02iC6dKoqv7Jj60Z3fKi/8npuA012Oz","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC16617gpar3s3t8/ZMtMNb8JmBQ8JjILT9qa5IbIKjDAIgRSA0RfW1LRLZM7DtL+9GvN5+bsMT+oBwVkcLBBwQcrc="}],"unpackedSize":44963},"main":"index.js","name":"@pgsql/semantics","types":"index.d.ts","author":{"name":"Constructive","email":"developers@constructive.io"},"module":"esm/index.js","gitHead":"b93d0f73eab976c7db21f7bc7e2dad165d25173e","license":"MIT","scripts":{"copy":"makage assets","lint":"eslint . --fix","test":"jest","build":"npm run clean && tsc && tsc -p tsconfig.esm.json && npm run copy","clean":"makage clean dist","build:dev":"npm run clean && tsc --declarationMap && tsc -p tsconfig.esm.json && npm run copy","test:watch":"jest --watch","prepublishOnly":"npm run build"},"version":"18.1.9","_npmUser":{"name":"pyramation","email":"pyramation@gmail.com"},"homepage":"https://github.com/constructive-io/pgsql-parser","keywords":["sql","postgres","postgresql","pg","ast","semantics","facts","classify","plpgsql"],"repository":{"url":"git+https://github.com/constructive-io/pgsql-parser.git","type":"git"},"_npmVersion":"lerna/10.0.0/node@v24.19.0+arm64 (darwin)","description":"AST-derived semantic facts for PostgreSQL statements: what each statement creates, references, and touches","directories":{},"maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"_nodeVersion":"24.19.0","dependencies":{"plpgsql-parser":"18.5.10","@pgsql/traverse":"18.7.10"},"publishConfig":{"access":"public","directory":"dist"},"_hasShrinkwrap":false,"devDependencies":{"makage":"^0.5.1"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/semantics_18.1.9_1789675552404_0.005086221554577275"}}},"time":{"created":"2026-08-02T15:41:41.874Z","modified":"2026-09-17T20:05:52.718Z","18.1.0":"2026-08-02T15:41:42.350Z","18.1.1":"2026-08-02T22:53:27.031Z","18.1.2":"2026-08-03T06:29:03.608Z","18.1.6":"2026-08-07T22:03:05.563Z","18.1.7":"2026-08-19T03:50:34.655Z","18.1.8":"2026-09-17T07:55:17.080Z","18.1.9":"2026-09-17T20:05:52.493Z"},"bugs":{"url":"https://github.com/constructive-io/pgsql-parser/issues"},"author":{"name":"Constructive","email":"developers@constructive.io"},"license":"MIT","homepage":"https://github.com/constructive-io/pgsql-parser","keywords":["sql","postgres","postgresql","pg","ast","semantics","facts","classify","plpgsql"],"repository":{"url":"git+https://github.com/constructive-io/pgsql-parser.git","type":"git"},"description":"AST-derived semantic facts for PostgreSQL statements: what each statement creates, references, and touches","maintainers":[{"name":"pyramation","email":"pyramation@gmail.com"}],"readme":"# @pgsql/semantics\n\n<p align=\"center\" width=\"100%\">\n  <img height=\"250\" src=\"https://raw.githubusercontent.com/constructive-io/constructive/refs/heads/main/assets/outline-logo.svg\" />\n</p>\n\n<p align=\"center\" width=\"100%\">\n  <a href=\"https://github.com/constructive-io/pgsql-parser/actions/workflows/run-tests.yaml\">\n    <img height=\"20\" src=\"https://github.com/constructive-io/pgsql-parser/actions/workflows/run-tests.yaml/badge.svg\" />\n  </a>\n   <a href=\"https://github.com/constructive-io/pgsql-parser/blob/main/LICENSE-MIT\"><img height=\"20\" src=\"https://img.shields.io/badge/license-MIT-blue.svg\"/></a>\n   <a href=\"https://www.npmjs.com/package/@pgsql/semantics\"><img height=\"20\" src=\"https://img.shields.io/github/package-json/v/constructive-io/pgsql-parser?filename=packages%2Fsemantics%2Fpackage.json\"/></a>\n</p>\n\nAST-derived **semantic facts** for PostgreSQL statements: given a SQL script,\nextract what each statement *is*, what it *creates*, and what it *references* —\nincluding references reached inside PL/pgSQL function bodies (via `plpgsql-parser`\nhydration). Read-only: the input is never modified.\n\nThis is the fact-extraction layer that grew up inside [`@pgsql/transform`](../transform).\nIt extracts *semantics* (which relations/functions/types a statement reads and\ncreates, which namespaces it touches), independent of any transformation.\n`@pgsql/transform` re-exports the same symbols, so existing consumers are\nunaffected.\n\n## Installation\n\n```bash\nnpm install @pgsql/semantics\n```\n\nThe parser runs on a WASM build of the real PostgreSQL parser; call `loadModule()`\nfrom `plpgsql-parser` once before using any synchronous API.\n\n## Usage\n\n```typescript\nimport { loadModule } from 'plpgsql-parser';\nimport { classifyStatements } from '@pgsql/semantics';\n\nawait loadModule();\n\nconst facts = classifyStatements(sql);\n// per statement: kind (schema|table|view|index|type|function|trigger|policy|grant|...),\n// creates, references (incl. inside PL/pgSQL bodies), bodyReferences,\n// referencedSchemas, roles, fkTargets, extension, securityRelevant,\n// securityDefiner, dynamicSql, span, stmt\n```\n\n## Exports\n\n- `classifyStatements(sql)` — classify each top-level statement into `StatementFacts[]`.\n- Types: `StatementFacts`, `StatementKind`, `QualifiedName`, `ExtensionFact`, `ExtensionAction`, `StatementSpan`.\n\n---\n\n**🛠 Built by the [Constructive](https://constructive.io) team — creators of modular Postgres tooling for secure, composable backends. If you like our work, contribute on [GitHub](https://github.com/constructive-io).**\n\n## Related\n\n* [pgpm](https://pgpm.dev): A Postgres Package Manager that brings modular development to PostgreSQL with reusable packages, deterministic migrations, recursive dependency resolution, and tag-aware versioning.\n* [pgsql-test](https://www.npmjs.com/package/pgsql-test): Instant, isolated PostgreSQL databases for each test with automatic transaction rollbacks, context switching, and clean seeding for fast, reliable database testing.\n* [pgsql-seed](https://www.npmjs.com/package/pgsql-seed): PostgreSQL seeding utilities for CSV, JSON, SQL data loading, and pgpm deployment.\n* [pgsql-parser](https://www.npmjs.com/package/pgsql-parser): The real PostgreSQL parser for Node.js, providing symmetric parsing and deparsing of SQL statements with actual PostgreSQL parser integration.\n* [pgsql-deparser](https://www.npmjs.com/package/pgsql-deparser): A streamlined tool designed for converting PostgreSQL ASTs back into SQL queries, focusing solely on deparser functionality to complement `pgsql-parser`.\n* [@pgsql/parser](https://www.npmjs.com/package/@pgsql/parser): Multi-version PostgreSQL parser with dynamic version selection at runtime, supporting PostgreSQL 15, 16, and 17 in a single package.\n* [@pgsql/types](https://www.npmjs.com/package/@pgsql/types): Offers TypeScript type definitions for PostgreSQL AST nodes, facilitating type-safe construction, analysis, and manipulation of ASTs.\n* [@pgsql/enums](https://www.npmjs.com/package/@pgsql/enums): Provides TypeScript enum definitions for PostgreSQL constants, enabling type-safe usage of PostgreSQL enums and constants in your applications.\n* [@pgsql/utils](https://www.npmjs.com/package/@pgsql/utils): A comprehensive utility library for PostgreSQL, offering type-safe AST node creation and enum value conversions, simplifying the construction and manipulation of PostgreSQL ASTs.\n* [@pgsql/traverse](https://www.npmjs.com/package/@pgsql/traverse): PostgreSQL AST traversal utilities for pgsql-parser, providing a visitor pattern for traversing PostgreSQL Abstract Syntax Tree nodes, similar to Babel's traverse functionality but specifically designed for PostgreSQL AST structures.\n* [pg-proto-parser](https://www.npmjs.com/package/pg-proto-parser): A TypeScript tool that parses PostgreSQL Protocol Buffers definitions to generate TypeScript interfaces, utility functions, and JSON mappings for enums.\n* [libpg-query](https://github.com/constructive-io/libpg-query-node): The real PostgreSQL parser exposed for Node.js, used primarily in `pgsql-parser` for parsing and deparsing SQL queries.\n\n## Disclaimer\n\nAS DESCRIBED IN THE LICENSES, THE SOFTWARE IS PROVIDED \"AS IS\", AT YOUR OWN RISK, AND WITHOUT WARRANTIES OF ANY KIND.\n\nNo developer or entity involved in creating Software will be liable for any claims or damages whatsoever associated with your use, inability to use, or your interaction with other users of the Software code or Software CLI, including any direct, indirect, incidental, special, exemplary, punitive or consequential damages, or loss of profits, cryptocurrencies, tokens, or anything else of value.\n","readmeFilename":"README.md"}