Skip to content

Commit 3fd5093

Browse files
committed
fix readme.md
1 parent 5e076e3 commit 3fd5093

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -125,9 +125,9 @@ context | user-defined | -
125125

126126
### `decode(buffer: ArrayLike<number> | ArrayBuffer, options?: DecodeOptions): unknown`
127127

128-
It decodes `buffer` encoded in MessagePack, and returns a decoded object as `uknown`.
128+
It decodes `buffer` encoded in MessagePack, and returns a decoded object as `unknown`.
129129

130-
`buffer` must be an array of bytes, which is typically `Uint8Array`, or `ArrayBuffer`.
130+
`buffer` must be an array of bytes, which is typically `Uint8Array` or `ArrayBuffer`, but `Array<number>` is okay.
131131

132132
for example:
133133

@@ -545,7 +545,7 @@ If you use NodeJS and/or webpack, their module resolvers use the suitable one au
545545

546546
### CDN / unpkg.com
547547

548-
This library is availble via CDN:
548+
This library is available via CDN:
549549

550550
```html
551551
<script crossorigin src="https://unpkg.com/@msgpack/msgpack"></script>
@@ -572,7 +572,7 @@ test matrix:
572572
* TypeScript targets
573573
* `target=es2019` / `target=es5`
574574
* JavaScript engines
575-
* NodeJS, borwsers (Chrome, Firefox, Safari, IE11, and so on)
575+
* NodeJS, browsers (Chrome, Firefox, Safari, IE11, and so on)
576576

577577
See [test:* in package.json](./package.json) and [.travis.yml](./.travis.yml) for details.
578578

0 commit comments

Comments
 (0)