diff options
author | Mestery <mestery@protonmail.com> | 2022-02-14 18:23:01 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-02-14 18:23:01 +0300 |
commit | b53f927a521e6bae7e12583634b4a21aef348f13 (patch) | |
tree | 62f8bc079a335654f1b68335352770c68693a5ab /doc/api/webstreams.md | |
parent | a987ba16f8cb052420694d74b898166cd7b32783 (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.md | 2 |
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'); |