{"library":"pg-proto-parser","type":"library","category":null,"description":"The `pg-proto-parser` library is a TypeScript project designed to parse Protocol Buffers (`.proto`) definitions specifically for `pganalyze/libpg_query` PostgreSQL Abstract Syntax Tree (AST) structures. It does not parse raw SQL queries or the PostgreSQL wire protocol directly. Instead, its primary function is to generate TypeScript interfaces, utility functions, and JSON mappings for the enums and messages defined within these PostgreSQL-related protobuf schemas. This generated code facilitates the creation of type-safe AST nodes and simplifies enum value conversions, serving as a foundational tool for other PostgreSQL tooling like `launchql/pgsql-parser` for maintainable upgrades. The package is currently at version 1.30.5 and appears to be actively maintained, offering a crucial layer for developers working with PostgreSQL's internal query representation in a type-safe TypeScript environment.","language":"javascript","status":"active","version":"1.30.5","tags":["javascript","sql","postgres","postgresql","pg","query","ast","proto","parser","typescript"],"install":[{"cmd":"npm install pg-proto-parser","imports":["import { PgProtoParser } from 'pg-proto-parser';","import type { PgProtoParserOptions } from 'pg-proto-parser';","import type { A_Const } from 'pg-proto-parser/types';"]},{"cmd":"yarn add pg-proto-parser","imports":[]},{"cmd":"pnpm add pg-proto-parser","imports":[]}],"homepage":null,"github":"https://github.com/constructive-io/pgsql-parser","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/pg-proto-parser","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/pg-proto-parser/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}