From 096c745be853d524a08f4a8d3090df4a254f46fe 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 --- 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 8d1980a4e0c6ad..7277efe2520fe4 100644 --- a/doc/api/esm.md +++ b/doc/api/esm.md @@ -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