aboutsummaryrefslogtreecommitdiff
path: root/node_modules/fs-extra/docs/fs-read-write.md
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/fs-extra/docs/fs-read-write.md')
-rw-r--r--node_modules/fs-extra/docs/fs-read-write.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/node_modules/fs-extra/docs/fs-read-write.md b/node_modules/fs-extra/docs/fs-read-write.md
index 5e5f42070..805ea3c38 100644
--- a/node_modules/fs-extra/docs/fs-read-write.md
+++ b/node_modules/fs-extra/docs/fs-read-write.md
@@ -2,7 +2,7 @@
[`fs.read()`](https://nodejs.org/api/fs.html#fs_fs_read_fd_buffer_offset_length_position_callback) & [`fs.write()`](https://nodejs.org/api/fs.html#fs_fs_write_fd_buffer_offset_length_position_callback) are different from other `fs` methods in that their callbacks are called with 3 arguments instead of the usual 2 arguments.
-If you're using them with callbacks, they will behave as usual. However, their promise usage is a little different. `fs-extra` promisifies these methods like [`util.promisify()`](https://nodejs.org/api/util.html#util_util_promisify_original) (only availible in Node 8+) does.
+If you're using them with callbacks, they will behave as usual. However, their promise usage is a little different. `fs-extra` promisifies these methods like [`util.promisify()`](https://nodejs.org/api/util.html#util_util_promisify_original) (only available in Node 8+) does.
Here's the example promise usage: