From 9ab3172e5d058c47725fdd91e2722bfe1461a4fb Mon Sep 17 00:00:00 2001 From: atever Date: Sun, 23 Jul 2017 10:53:37 -0400 Subject: [PATCH] doc: add docs for module.paths MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/14435 Refs: https://github.com/nodejs/node/issues/14371#issuecomment-317184131 Reviewed-By: Vse Mozhet Byt Reviewed-By: Luigi Pinca Reviewed-By: Khaidi Chu Reviewed-By: Colin Ihrig Reviewed-By: Refael Ackermann Reviewed-By: Tobias Nießen Reviewed-By: Gibson Fahnestock --- doc/api/modules.md | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/doc/api/modules.md b/doc/api/modules.md index e07e21217c..13e3731cae 100644 --- a/doc/api/modules.md +++ b/doc/api/modules.md @@ -768,6 +768,15 @@ added: v0.1.16 The module that first required this one. +### module.paths + + +* {string[]} + +The search paths for the module. + ### module.require(id)