Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commita3183fb

Browse files
SunsetTechuilamarco-ippolito
authored andcommitted
doc: add info about prefix-only modules tomodule.builtinModules
PR-URL:#53954Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
1 parent6d0b8de commita3183fb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎doc/api/module.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,8 @@ added:
2828
A list of the names of all modules provided by Node.js. Can be used to verify
2929
if a module is maintained by a third party or not.
3030

31+
Note: the list doesn't contain[prefix-only modules][] like`node:test`.
32+
3133
`module` in this context isn't the same object that's provided
3234
by the[module wrapper][]. To access it, require the`Module` module:
3335

@@ -1135,6 +1137,7 @@ returned object contains the following keys:
11351137
[hooks]: #customization-hooks
11361138
[load hook]: #loadurl-context-nextload
11371139
[module wrapper]: modules.md#the-module-wrapper
1140+
[prefix-only modules]: modules.md#built-in-modules-with-mandatory-node-prefix
11381141
[realm]: https://tc39.es/ecma262/#realm
11391142
[source map include directives]: https://sourcemaps.info/spec.html#h.lmz475t4mvbx
11401143
[transferrable objects]: worker_threads.md#portpostmessagevalue-transferlist

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp