Skip to content

Latest commit

 

History

History
28 lines (18 loc) · 375 Bytes

README.md

File metadata and controls

28 lines (18 loc) · 375 Bytes

pb-parser

a simple protobuf parser written in typescript.

demo https://stackblitz.com/edit/pb-parser-demo?file=index.tsx

Installation

npm install pb-parser

Usage

import { parse } from "pb-parser";

const file = parse(`syntax = "proto3";`);
console.log(file);

Testing

To run the tests, run the following command:

npm test