diff --git a/doc/api/fs.md b/doc/api/fs.md index bb32e27fbf2..7c5c3677868 100644 --- a/doc/api/fs.md +++ b/doc/api/fs.md @@ -4237,7 +4237,7 @@ this API: [`fs.writev()`][]. The `fs.promises` API provides an alternative set of asynchronous file system methods that return `Promise` objects rather than using callbacks. The -API is accessible via `require('fs').promises`. +API is accessible via `require('fs').promises` or `require('fs/promises')`. ### class: `FileHandle`