Skip to content

Commit 40bd5cf

Browse files
committed
doc: add docs for module.paths
- Refs: nodejs#14371 (comment)
1 parent 69f653d commit 40bd5cf

File tree

1 file changed

+11
-1
lines changed

1 file changed

+11
-1
lines changed

doc/api/modules.md

+11-1
Original file line numberDiff line numberDiff line change
@@ -791,4 +791,14 @@ be explicitly exported in order to be used.
791791
[`path.dirname()`]: path.html#path_path_dirname_path
792792
[exports shortcut]: #modules_exports_shortcut
793793
[module resolution]: #modules_all_together
794-
[native addons]: addons.html
794+
[native addons]: addons.html
795+
796+
### module.paths
797+
<!-- YAML
798+
added: v0.4.0
799+
-->
800+
801+
* {array}
802+
803+
The search paths for the module.
804+

0 commit comments

Comments
 (0)