From f6fc70e107e74cd00a03a629abb5060c16908954 Mon Sep 17 00:00:00 2001 From: Marco D'Agostini Date: Thu, 4 Jun 2020 14:23:30 -0500 Subject: [PATCH] Update README.md --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 3edb828..d67d787 100644 --- a/README.md +++ b/README.md @@ -87,7 +87,7 @@ At first I tried to apply the binary compression directly on a stringified JSON, For small JS objects, LZW largely outperformed LZMA, but for the most part you'd probably be looking to compress large JSON data rather than small amounts (otherwise a simple stringify + base64 is sufficient). You can choose to use whatever codec suits you best. -In addition, there is now support for [LZSTRING][5], although the URI encoding still uss urlsafe-base64 because LZSTRING still uses unsafe characters via their `compressToURIEncodedString` method - notably the [`+` character][6] +In addition, there is now support for [LZSTRING][5], although the URI encoding still uses urlsafe-base64 because LZSTRING still uses unsafe characters via their `compressToURIEncodedString` method - notably the [`+` character][6] Finally, I went with [urlsafe-base64][4] to encode it in a URL-friendly format. @@ -109,4 +109,4 @@ Find a way to improve bundle sizes for browser usage. [daviddm-image]: https://david-dm.org/masotime/json-url.svg?theme=shields.io [daviddm-url]: https://david-dm.org/masotime/json-url [coverage-image]: https://coveralls.io/repos/github/masotime/json-url/badge.svg?branch=master -[coverage-url]: https://coveralls.io/github/masotime/json-url?branch=master \ No newline at end of file +[coverage-url]: https://coveralls.io/github/masotime/json-url?branch=master