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