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 Feb 28, 2021
1 parent 5c27fd7 commit f3559a9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/esm.md
Original file line number Diff line number Diff line change
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 f3559a9

Please sign in to comment.