Skip to content

Commit

Permalink
doc: fix typo in doc/api/esm.md
Browse files Browse the repository at this point in the history
PR-URL: #37400
Reviewed-By: Richard Lau <rlau@redhat.com>
Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
Reviewed-By: Pooja D P <Pooja.D.P@ibm.com>
Reviewed-By: Rich Trott <rtrott@gmail.com>
Reviewed-By: Darshan Sen <raisinten@gmail.com>
Reviewed-By: Zijian Liu <lxxyxzj@gmail.com>
  • Loading branch information
marsonya authored and targos committed May 1, 2021
1 parent 776ef11 commit 8b60e66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/esm.md
Expand Up @@ -431,7 +431,7 @@ import { readFile } from 'fs/promises';
const json = JSON.parse(await readFile(new URL('./dat.json', import.meta.url)));
```
Alterantively `module.createRequire()` can be used.
Alternatively `module.createRequire()` can be used.
#### No Native Module Loading
Expand Down

0 comments on commit 8b60e66

Please sign in to comment.