Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMestery <mestery@protonmail.com>2022-02-14 18:23:01 +0300
committerGitHub <noreply@github.com>2022-02-14 18:23:01 +0300
commitb53f927a521e6bae7e12583634b4a21aef348f13 (patch)
tree62f8bc079a335654f1b68335352770c68693a5ab /doc/api/webstreams.md
parenta987ba16f8cb052420694d74b898166cd7b32783 (diff)
doc: add missing `buffer` in the `stream/consumers` import example
PR-URL: https://github.com/nodejs/node/pull/41961 Reviewed-By: Tobias Nießen <tniessen@tnie.de> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com>
Diffstat (limited to 'doc/api/webstreams.md')
-rw-r--r--doc/api/webstreams.md2
1 files changed, 2 insertions, 0 deletions
diff --git a/doc/api/webstreams.md b/doc/api/webstreams.md
index 18cceef8be3..cde2addc7d0 100644
--- a/doc/api/webstreams.md
+++ b/doc/api/webstreams.md
@@ -1380,6 +1380,7 @@ They are accessed using:
import {
arrayBuffer,
blob,
+ buffer,
json,
text,
} from 'node:stream/consumers';
@@ -1389,6 +1390,7 @@ import {
const {
arrayBuffer,
blob,
+ buffer,
json,
text,
} = require('stream/consumers');