From 47b068b2aebb4824e4ca5e8c18e9ec2f9dc5a84b Mon Sep 17 00:00:00 2001 From: cha0s Date: Mon, 2 Dec 2024 05:30:29 -0600 Subject: [PATCH] chore: doc --- README.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index d8ce796..7c4f8bf 100644 --- a/README.md +++ b/README.md @@ -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 @@ -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: {