Skip to content

Commit

Permalink
codecov badge
Browse files Browse the repository at this point in the history
  • Loading branch information
konsumer committed May 3, 2024
1 parent d5831d2 commit 6d4f488
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# rawproto

[![codecov](https://codecov.io/gh/konsumer/rawproto/graph/badge.svg?token=PBL1G8S4WY)](https://codecov.io/gh/konsumer/rawproto)

Guess structure of protobuf binary from raw data, query binary protobuf without the schema, and output guessed JSON or schema, some CLI utils, and a web tool for exploring raw protobuf.

## installation
Expand All @@ -10,7 +12,6 @@ You can also use `npx rawproto` to run the CLI.

If you just want the CLI, and don't use node, you can also find standalone builds [here](https://github.com/konsumer/rawproto/releases).


## usage

```js
Expand All @@ -29,7 +30,7 @@ console.log(proto.query('1.2.4.10.5'))
// guess to decode as JS object
console.log(proto.toJS())

// guess to generate .proto file string
// guess to generate .proto file string
console.log(proto.toProto())

// walk over messages recursively, calling your callback.
Expand All @@ -54,5 +55,4 @@ FIXED32 - int, uint, bool, float

You can also use `raw` for any type to get the raw field with bytes + meta.

Groups are treated as repeated `LEN` message-fields.

Groups are treated as repeated `LEN` message-fields.

0 comments on commit 6d4f488

Please sign in to comment.