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