Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
doc: fix typo in doc/api/esm.md
  • Loading branch information
marsonya committed Feb 16, 2021
commit 096c745be853d524a08f4a8d3090df4a254f46fe
2 changes: 1 addition & 1 deletion doc/api/esm.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down