Skip to content

Commit

Permalink
chore: doc
Browse files Browse the repository at this point in the history
  • Loading branch information
cha0s committed Dec 2, 2024
1 parent 71b4442 commit 47b068b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

# crunches :muscle:

The smallest **and** fastest JavaScript web standards-compliant value serialization library in the wild. **3.36 kB** gzipped; **0 dependencies**. Efficiently encode and decode your values to and from `ArrayBuffer`s. Integrates very well with WebSockets.
The smallest **and** fastest JavaScript web standards-compliant value serialization library in the wild. **3.59 kB** gzipped; **0 dependencies**. Efficiently encode and decode your values to and from `ArrayBuffer`s. Integrates very well with WebSockets.

## Example

Expand Down Expand Up @@ -232,13 +232,14 @@ Using the original example with all optional fields:
const stateSchema = new Schema({
type: 'object',
properties: {
health: {type: 'varuint', optional: true},
jumping: {type: 'bool', optional: true},
position: {
type: 'array',
element: {type: 'float32'},
length: 3,
optional: true,
},
health: {type: 'varuint', optional: true},
jumping: {type: 'bool', optional: true},
attributes: {
type: 'object',
properties: {
Expand Down

0 comments on commit 47b068b

Please sign in to comment.