Skip to content
This repository was archived by the owner on Apr 16, 2020. It is now read-only.

Commit dbc26a9

Browse files
committed
doc: document minimal kernel
1 parent de223bb commit dbc26a9

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

doc/api/esm.md

+6-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,11 @@
88
<!--name=esm-->
99

1010
Node.js contains support for ES Modules based upon the
11-
[Node.js EP for ES Modules][].
11+
[Node.js EP for ES Modules][] and the [ESM Minimal Kernel][].
1212

13-
Not all features of the EP are complete and will be landing as both VM support
14-
and implementation is ready. Error messages are still being polished.
13+
The minimal feature set is designed to be compatible with all potential
14+
future implementations. Expect major changes in the implementation including
15+
interoperability support, specifier resolution, and default behavior.
1516

1617
## Enabling
1718

@@ -98,7 +99,7 @@ For now, only modules using the `file:` protocol can be loaded.
9899

99100
## CommonJS, JSON, and Native Modules
100101

101-
CommonJS, JSON, and Native modules can be used with [`module.createRequireFromPath()`][`module.createRequireFromPath()`].
102+
CommonJS, JSON, and Native modules can be used with [`module.createRequireFromPath()`][].
102103

103104
```js
104105
// cjs.js
@@ -266,3 +267,4 @@ in the import tree.
266267
[Node.js EP for ES Modules]: https://github.com/nodejs/node-eps/blob/master/002-es-modules.md
267268
[dynamic instantiate hook]: #esm_dynamic_instantiate_hook
268269
[`module.createRequireFromPath()`]: modules.html#modules_module_createrequirefrompath_filename
270+
[ESM Minimal Kernel]: https://github.com/nodejs/modules/blob/master/doc/plan-for-new-modules-implementation.md

0 commit comments

Comments
 (0)