fix(read-chunk/README): fix pkg name
This commit is contained in:
@@ -19,7 +19,7 @@ Installation of the [npm package](https://npmjs.org/package/@vates/read-chunk):
|
|||||||
- returns `null` if the stream has ended
|
- returns `null` if the stream has ended
|
||||||
|
|
||||||
```js
|
```js
|
||||||
import { readChunk } from '@xen-orchestra/read-chunk'
|
import { readChunk } from '@vates/read-chunk'
|
||||||
;(async () => {
|
;(async () => {
|
||||||
let chunk
|
let chunk
|
||||||
while ((chunk = await readChunk(stream, 1024)) !== null) {
|
while ((chunk = await readChunk(stream, 1024)) !== null) {
|
||||||
|
|||||||
Reference in New Issue
Block a user