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: nodejs#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 aduh95 committed Feb 22, 2021
1 parent 910dec0 commit 442be20
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 @@ -435,7 +435,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 442be20

Please sign in to comment.