diff --git a/doc/api/fs.md b/doc/api/fs.md index 9b35dcb3b458..66d996c46201 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -6541,6 +6541,20 @@ with the [`using`][] syntax. The optional `options` argument can be a string specifying an encoding, or an object with an `encoding` property specifying the character encoding to use. +### `fs.openAsBlobSync(path[, options])` + + + +* `path` {string|Buffer|URL} +* `options` {Object} + * `type` {string} An optional mime type for the blob. +* Returns: {Blob} + +For detailed information, see the documentation of the Promise-returning +version of this API: [`fs.openAsBlob()`][]. + ### `fs.opendirSync(path[, options])`