From 8b60e6698205959fe0fac09d0fe0dc9ad90473bf Mon Sep 17 00:00:00 2001 From: marsonya Date: Tue, 16 Feb 2021 21:10:53 +0530 Subject: [PATCH] doc: fix typo in doc/api/esm.md PR-URL: https://github.com/nodejs/node/pull/37400 Reviewed-By: Richard Lau Reviewed-By: Antoine du Hamel Reviewed-By: Pooja D P Reviewed-By: Rich Trott Reviewed-By: Darshan Sen Reviewed-By: Zijian Liu --- doc/api/esm.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/api/esm.md b/doc/api/esm.md index 74b434467f143b..aac1c577815317 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