Skip to content

Commit cd8f039

Browse files
committed
doc: add bundle size badges to all exports
1 parent d564eda commit cd8f039

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

README.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -256,7 +256,7 @@ Prefer using strict throwing methods for cryptography applications._
256256

257257
Throws on non-even byte length.
258258

259-
### @exodus/bytes/single-byte.js
259+
### @exodus/bytes/single-byte.js <sub>![](https://img.shields.io/bundlejs/size/@exodus/bytes/single-byte.js?style=flat-square)</sub>
260260

261261
Decode / encode the legacy single-byte encodings according to the
262262
[Encoding standard](https://encoding.spec.whatwg.org/)
@@ -377,7 +377,7 @@ Same as:
377377
const windows1252fromString = createSinglebyteEncoder('windows-1252', { mode: 'fatal' })
378378
```
379379

380-
### @exodus/bytes/multi-byte.js
380+
### @exodus/bytes/multi-byte.js <sub>![](https://img.shields.io/bundlejs/size/@exodus/bytes/multi-byte.js?style=flat-square)</sub>
381381

382382
Decode / encode the legacy multi-byte encodings according to the
383383
[Encoding standard](https://encoding.spec.whatwg.org/)
@@ -419,7 +419,7 @@ Returns a function `encode(string)` that encodes a string to bytes.
419419
In `'fatal'` mode (default), will throw on non well-formed strings or any codepoints which could
420420
not be encoded in the target encoding.
421421

422-
### @exodus/bytes/bigint.js
422+
### @exodus/bytes/bigint.js <sub>![](https://img.shields.io/bundlejs/size/@exodus/bytes/bigint.js?style=flat-square)</sub>
423423

424424
Convert between BigInt and Uint8Array
425425

@@ -441,7 +441,7 @@ Convert a Uint8Array or Buffer to a BigInt
441441

442442
The bytes are interpreted as a big-endian unsigned integer.
443443

444-
### @exodus/bytes/hex.js
444+
### @exodus/bytes/hex.js <sub>![](https://img.shields.io/bundlejs/size/@exodus/bytes/hex.js?style=flat-square)</sub>
445445

446446
Implements Base16 from [RFC4648](https://datatracker.ietf.org/doc/html/rfc4648)
447447
(no differences from [RFC3548](https://datatracker.ietf.org/doc/html/rfc4648)).
@@ -460,7 +460,7 @@ Unlike `Buffer.from()`, throws on invalid input
460460

461461
Encode a `Uint8Array` to a lowercase hex string
462462

463-
### @exodus/bytes/base64.js
463+
### @exodus/bytes/base64.js <sub>![](https://img.shields.io/bundlejs/size/@exodus/bytes/base64.js?style=flat-square)</sub>
464464

465465
Implements base64 and base64url from [RFC4648](https://datatracker.ietf.org/doc/html/rfc4648)
466466
(no differences from [RFC3548](https://datatracker.ietf.org/doc/html/rfc4648)).
@@ -497,7 +497,7 @@ Encode a `Uint8Array` to a base64 string (RFC 4648)
497497

498498
Encode a `Uint8Array` to a base64url string (RFC 4648)
499499

500-
### @exodus/bytes/base32.js
500+
### @exodus/bytes/base32.js <sub>![](https://img.shields.io/bundlejs/size/@exodus/bytes/base32.js?style=flat-square)</sub>
501501

502502
Implements base32 and base32hex from [RFC4648](https://datatracker.ietf.org/doc/html/rfc4648)
503503
(no differences from [RFC3548](https://datatracker.ietf.org/doc/html/rfc4648)).
@@ -527,7 +527,7 @@ Encode a `Uint8Array` to a base32 string (RFC 4648)
527527

528528
Encode a `Uint8Array` to a base32hex string (RFC 4648)
529529

530-
### @exodus/bytes/bech32.js
530+
### @exodus/bytes/bech32.js <sub>![](https://img.shields.io/bundlejs/size/@exodus/bytes/bech32.js?style=flat-square)</sub>
531531

532532
Implements bech32 and bech32m from
533533
[BIP-0173](https://github.com/bitcoin/bips/blob/master/bip-0173.mediawiki#specification)
@@ -561,7 +561,7 @@ Decode a bech32m string to bytes
561561

562562
Encode bytes to a bech32m string
563563

564-
### @exodus/bytes/base58.js
564+
### @exodus/bytes/base58.js <sub>![](https://img.shields.io/bundlejs/size/@exodus/bytes/base58.js?style=flat-square)</sub>
565565

566566
Implements [base58](https://www.ietf.org/archive/id/draft-msporny-base58-03.txt) encoding.
567567

@@ -596,7 +596,7 @@ Encode a `Uint8Array` to a base58 string using XRP alphabet
596596

597597
Uses the XRP variant base58 alphabet
598598

599-
### @exodus/bytes/base58check.js
599+
### @exodus/bytes/base58check.js <sub>![](https://img.shields.io/bundlejs/size/@exodus/bytes/base58check.js?style=flat-square)</sub>
600600

601601
Implements [base58check](https://en.bitcoin.it/wiki/Base58Check_encoding) encoding.
602602

@@ -636,7 +636,7 @@ Uses double SHA-256 for checksum calculation
636636

637637
Create a base58check encoder/decoder with custom hash functions
638638

639-
### @exodus/bytes/wif.js
639+
### @exodus/bytes/wif.js <sub>![](https://img.shields.io/bundlejs/size/@exodus/bytes/wif.js?style=flat-square)</sub>
640640

641641
Wallet Import Format (WIF) encoding and decoding.
642642

@@ -675,7 +675,7 @@ Encode WIF data to a WIF string
675675

676676
Encode WIF data to a WIF string (synchronous)
677677

678-
### @exodus/bytes/array.js
678+
### @exodus/bytes/array.js <sub>![](https://img.shields.io/bundlejs/size/@exodus/bytes/array.js?style=flat-square)</sub>
679679

680680
TypedArray utils and conversions.
681681

@@ -881,7 +881,7 @@ do not provide sufficiently complete / non-buggy `TextDecoder` APIs.
881881
> but they are fixing them and the expected update window is short.\
882882
> If you want to circumvent browser bugs, use full `@exodus/bytes/encoding.js` import.
883883
884-
### @exodus/bytes/whatwg.js
884+
### @exodus/bytes/whatwg.js <sub>![](https://img.shields.io/bundlejs/size/@exodus/bytes/whatwg.js?style=flat-square)</sub>
885885
886886
WHATWG helpers
887887

0 commit comments

Comments
 (0)