from fs callback doc to fs promises doc

This commit is contained in:
Louise Foussat 2021-02-23 14:17:10 +00:00 committed by Clément
parent d95923cc47
commit 5d43a6232d
1 changed files with 3 additions and 4 deletions

View File

@ -105,11 +105,10 @@ await page.type(`input#myId`, 'some text')
- [HTML Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Attributes)
- [Puppeteer](https://pptr.dev/)
- [Node process: `exit`](https://nodejs.org/api/process.html#process_process_exit_code)
- [Node file system: `readdir`](https://nodejs.org/api/fs.html#fs_fs_readdir_path_options_callback)
- [Node file system: `readFile`](https://nodejs.org/api/fs.html#fs_fs_readfile_path_options_callback)
- [Node file system: `writeFile`](https://nodejs.org/api/fs.html#fs_fs_writefile_file_data_options_callback)
- [Node file system: `readdir`](https://nodejs.org/api/fs.html#fs_fspromises_readdir_path_options)
- [Node file system: `readFile`](https://nodejs.org/api/fs.html#fs_fspromises_readfile_path_options)
- [Node file system: `writeFile`](https://nodejs.org/api/fs.html#fs_fspromises_writefile_file_data_options)
- [Node path: `resolve`](https://nodejs.org/api/path.html#path_path_resolve_paths)
- [Node utilities: `promisify`](https://nodejs.org/api/util.html#util_util_promisify_original)
- [`getElementById`](https://developer.mozilla.org/en-US/docs/Web/API/Document/getElementById))
- [`textContent`](https://developer.mozilla.org/en-US/docs/Web/API/Node/textContent)
- [`http-server`](https://www.npmjs.com/package/http-server) or [`serve`](https://www.npmjs.com/package/serve)