From 725cee178be91b67168e98b815cc104d23a0a1f4 Mon Sep 17 00:00:00 2001 From: Cayman Date: Mon, 12 Oct 2020 00:47:10 -0600 Subject: [PATCH] docs: typo in readme (#6) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 71f515a..35f2f52 100644 --- a/README.md +++ b/README.md @@ -105,7 +105,7 @@ Supports `utf8` and any of the [multiformats encodings](https://www.npmjs.com/pa #### Example ```js -const fromString = require('uint8arrays/from-string') +const toString = require('uint8arrays/to-string') console.info(toString(Uint8Array.from([104, 101...]))) // 'hello world' console.info(toString(Uint8Array.from([0, 1, 2...]), 'base16')) // '00010203aabbcc'