Skip to content

Commit

Permalink
docs: typo in readme (#6)
Browse files Browse the repository at this point in the history
  • Loading branch information
wemeetagain authored Oct 12, 2020
1 parent a20cf8a commit 725cee1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down

0 comments on commit 725cee1

Please sign in to comment.