diff options
author | marsonya <akhil.marsonya27@gmail.com> | 2021-02-16 18:40:53 +0300 |
---|---|---|
committer | Michaƫl Zasso <targos@protonmail.com> | 2021-02-28 16:40:02 +0300 |
commit | f3559a922b81d42be1855ddf09afabada1b14e9b (patch) | |
tree | 077bb1fbb14eb5402294d93c4485862ed8a9cf69 /doc | |
parent | 5c27fd73b01e74afb2f90af920ca311778b62e73 (diff) |
doc: fix typo in doc/api/esm.md
PR-URL: https://github.com/nodejs/node/pull/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>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/esm.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/esm.md b/doc/api/esm.md index 31e2b7597e1..3ddd5f26512 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -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 |