pb-text-format-to-json
v1.1.2
Published
Protobuf text format to JSON parser.
Downloads
43
Readme
pb-text-format-to-json
Protobuf Text Format to JSON parser.
For example, parses Google font's METADATA.pb
to JSON.
import { parse } from "pb-text-format-to-json";
import fs from "fs";
const input = fs.readFileSync("path/to/pb", "utf-8");
const output = parse(input);
Derived from protobuf-textformat.