added urls tests and corrected outdated urls (#78)

* added urls tests and corrected outdated urls

* removed outdated autobase example link

* change successful test status from <=300 to < 300

* removed index.test.cjs

* fixed test status code

---------

Co-authored-by: rafapaezbas <rafa@holepunch.com>
This commit is contained in:
rafapaezbas
2024-02-27 17:26:42 +01:00
committed by GitHub
parent bd1c1e6b25
commit 924e1fa71d
9 changed files with 78 additions and 13 deletions

View File

@@ -2,7 +2,7 @@
A series of binary encoders/decoders for building small and fast parsers and serializers.
> [GitHub (Compact-Encoding)](https://github.com/compact-encoding/compact-encoding)
> [GitHub (Compact-Encoding)](https://github.com/holepunchto/compact-encoding)
* [Compact-Encoding](compact-encoding.md#installation)
* Methods
@@ -118,7 +118,7 @@ The following encodings are bundled as they are primitives that can be used to b
| `cenc.int48` | Encodes a fixed size int48 using `cenc.uint48` with ZigZag encoding. |
| `cenc.int56` | Encodes a fixed size int56 using `cenc.uint56` with ZigZag encoding |
| `cenc.int64` | Encodes a fixed size int64 using `cenc.uint64` with ZigZag encoding. |
| `cenc.lexint` | Encodes an int using [lexicographic-integer](https://github.com/substack/lexicographic-integer) encoding so that encoded values are lexicographically sorted in ascending numerical order. |
| `cenc.lexint` | Encodes an int using lexicographic-integer encoding so that encoded values are lexicographically sorted in ascending numerical order. |
| `cenc.float32` | Encodes a fixed size float32. |
| `cenc.float64` | Encodes a fixed size float64. |
| `cenc.buffer` | Encodes a buffer with its length uint prefixed. When decoding an empty buffer, `null` is returned. |

View File

@@ -2,7 +2,7 @@
Multiplex multiple message-oriented protocols over a stream
>[GitHub (Protomux)](https://github.com/mafintosh/protomux)
>[GitHub (Protomux)](https://github.com/holepunchto/protomux)
* [Installation](protomux.md#installation)
* [Basic usage](protomux.md#basic-usage)