1.0.0 • Published 2 years ago
protobuf-extractor v1.0.0
Protobuf extractor
This package will help extract protobuf.js definitions from a given file or from a webpage.
Usage
yarn add protobuf-extractor
import { parseJsFile } from "protobuf-extractor";
const jsContents = fs.readFileSync(path.join(__dirname, "./file.js")).toString();
const definitions = await parseJsFile(jsContents);
1.0.0
2 years ago