From d416fa71b82463a7189d41867bda1ea1ddf4a89e Mon Sep 17 00:00:00 2001 From: Roy Revelt Date: Sun, 15 Oct 2017 23:30:39 +0100 Subject: [PATCH] typo fixed fixed --- docs/fs-read-write.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/fs-read-write.md b/docs/fs-read-write.md index 5e5f4207..805ea3c3 100644 --- a/docs/fs-read-write.md +++ b/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: