{"library":"proto-parser","type":"library","category":null,"description":"proto-parser is a JavaScript/TypeScript library specifically designed to parse Protocol Buffer (proto) files and generate an Abstract Syntax Tree (AST). Currently at version 0.0.9, it is in early development, suggesting potential for rapid updates and API evolution, though no explicit release cadence is mentioned beyond frequent updates. Unlike `protobuf.js`, on which it is partially based and from which it reuses some code, `proto-parser` focuses exclusively on the parsing aspect, omitting encoding/decoding functionalities. This specialization results in a smaller codebase, improved performance, and a 'purer' AST structure. It offers native TypeScript support and aims for basic AST compatibility with `protobuf.js`, making it suitable for users who primarily need to analyze or transform proto definitions without the overhead of runtime message handling.","language":"javascript","status":"active","version":"0.0.9","tags":["javascript","proto","protoc","ast","parser","protobuf","protocol buffers"],"install":[{"cmd":"npm install proto-parser","imports":["import * as t from 'proto-parser';\nconst protoDocument = t.parse(content);","import type { ProtoDocument } from 'proto-parser';","const protoParser = require('proto-parser');\nconst protoDocument = protoParser.parse(content);"]},{"cmd":"yarn add proto-parser","imports":[]},{"cmd":"pnpm add proto-parser","imports":[]}],"homepage":null,"github":"https://github.com/lancewuz/proto-parser","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/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/proto-parser/compatibility"},"provenance":{"verified_status":null,"verified_at":null,"last_verified":"Wed Jun 17","next_check":"Sat Jul 18","install_tag":null}}