From f3559a922b81d42be1855ddf09afabada1b14e9b 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 31e2b7597e1559..3ddd5f2651213e 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