protobuf-extractor
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

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);

Package Sidebar

Install

npm i protobuf-extractor

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

7.45 kB

Total Files

6

Last publish

Collaborators

  • jonluca