diff --git a/doc/api/stream.md b/doc/api/stream.md index c0480ddec34ae4..39f174483347fc 100644 --- a/doc/api/stream.md +++ b/doc/api/stream.md @@ -599,8 +599,8 @@ changes: not operating in object mode, `chunk` must be a string, `Buffer` or `Uint8Array`. For object mode streams, `chunk` may be any JavaScript value other than `null`. -* `encoding` {string|null} The encoding,if `chunk` is a string. **Default:** `'utf8'` -* `callback` {Function} Callback for when this chunk of data is flushed +* `encoding` {string|null} The encoding, if `chunk` is a string. **Default:** `'utf8'` +* `callback` {Function} Callback for when this chunk of data is flushed. * Returns: {boolean} `false` if the stream wishes for the calling code to wait for the `'drain'` event to be emitted before continuing to write additional data; otherwise `true`.