Skip to content

Commit c4d6914

Browse files
committed
[doc] Disambiguate the title
1 parent 2ce8395 commit c4d6914

4 files changed

+4
-4
lines changed

docs/guides/streams/node-readable-to-arraybuffer.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Convert a Node.js Readable stream to an ArrayBuffer
2+
name: Convert a Node.js Readable to an ArrayBuffer
33
---
44

55
To convert a Node.js `Readable` stream to an `ArrayBuffer` in Bun, you can create a new `Response` object with the stream as the body, then use `arrayBuffer()` to read the stream into an `ArrayBuffer`.

docs/guides/streams/node-readable-to-blob.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Convert a Node.js Readable stream to a Blob
2+
name: Convert a Node.js Readable to a Blob
33
---
44

55
To convert a Node.js `Readable` stream to a [`Blob`](https://developer.mozilla.org/en-US/docs/Web/API/Blob) in Bun, you can create a new [`Response`](https://developer.mozilla.org/en-US/docs/Web/API/Response) object with the stream as the body, then use [`response.blob()`](https://developer.mozilla.org/en-US/docs/Web/API/Response/blob) to read the stream into a [`Blob`](https://developer.mozilla.org/en-US/docs/Web/API/Blob).

docs/guides/streams/node-readable-to-json.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Convert a Node.js Readable stream to JSON
2+
name: Convert a Node.js Readable to JSON
33
---
44

55
To convert a Node.js `Readable` stream to a JSON object in Bun, you can create a new [`Response`](https://developer.mozilla.org/en-US/docs/Web/API/Response) object with the stream as the body, then use [`response.json()`](https://developer.mozilla.org/en-US/docs/Web/API/Response/json) to read the stream into a JSON object.

docs/guides/streams/node-readable-to-string.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
---
2-
name: Convert a Node.js Readable stream to a string
2+
name: Convert a Node.js Readable to a string
33
---
44

55
To convert a Node.js `Readable` stream to a string in Bun, you can create a new [`Response`](https://developer.mozilla.org/en-US/docs/Web/API/Response) object with the stream as the body, then use [`response.text()`](https://developer.mozilla.org/en-US/docs/Web/API/Response/text) to read the stream into a string.

0 commit comments

Comments
 (0)