Skip to content

Commit 725cee1

Browse files
authored
docs: typo in readme (#6)
1 parent a20cf8a commit 725cee1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@ Supports `utf8` and any of the [multiformats encodings](https://www.npmjs.com/pa
105105
#### Example
106106

107107
```js
108-
const fromString = require('uint8arrays/from-string')
108+
const toString = require('uint8arrays/to-string')
109109

110110
console.info(toString(Uint8Array.from([104, 101...]))) // 'hello world'
111111
console.info(toString(Uint8Array.from([0, 1, 2...]), 'base16')) // '00010203aabbcc'

0 commit comments

Comments
 (0)