Skip to content

Commit

Permalink
doc: add history section for fs Promises API
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Oct 21, 2020
1 parent d5088d8 commit f1fd9b1
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions doc/api/fs.md
Original file line number Diff line number Diff line change
Expand Up @@ -4594,6 +4594,21 @@ For detailed information, see the documentation of the asynchronous version of
this API: [`fs.writev()`][].

## `fs` Promises API
<!-- YAML
added: v10.0.0
changes:
- version: v14.0.0
pr-url: https://github.com/nodejs/node/pull/31553
description: The API is also accessible by `require('fs/promises')`.
- version:
- v11.14.0
- v10.17.0
pr-url: https://github.com/nodejs/node/pull/26581
description: Remove experimental warning.
- version: v10.1.0
pr-url: https://github.com/nodejs/node/pull/20504
description: The API is accessible by `require('fs').promises` only.
-->

The `fs.promises` API provides an alternative set of asynchronous file system
methods that return `Promise` objects rather than using callbacks. The
Expand Down

0 comments on commit f1fd9b1

Please sign in to comment.