diff options
author | Gus Caplan <me@gus.host> | 2019-09-26 15:58:49 -0700 |
---|---|---|
committer | Gus Caplan <me@gus.host> | 2019-10-11 12:33:40 -0700 |
commit | c0305af2c4aba6d6ecd39eb100a59998d87ddc69 (patch) | |
tree | a83ae9edb6421e14160ed8a3ba60164979040145 /doc | |
parent | 06f6d662f679ee04679d97ecd5087e6f17268141 (diff) | |
download | node-new-c0305af2c4aba6d6ecd39eb100a59998d87ddc69.tar.gz |
repl: check for NODE_REPL_EXTERNAL_MODULE
PR-URL: https://github.com/nodejs/node/pull/29778
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Yongsheng Zhang <zyszys98@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/cli.md | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/api/cli.md b/doc/api/cli.md index d6846dfee1..016840257f 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -1121,6 +1121,14 @@ Path to the file used to store the persistent REPL history. The default path is `~/.node_repl_history`, which is overridden by this variable. Setting the value to an empty string (`''` or `' '`) disables persistent REPL history. +### `NODE_REPL_EXTERNAL_MODULE=file` +<!-- YAML +added: REPLACEME +--> + +Path to a Node.js module which will be loaded in place of the built-in REPL. +Overriding this value to an empty string (`''`) will use the built-in REPL. + ### `NODE_TLS_REJECT_UNAUTHORIZED=value` If `value` equals `'0'`, certificate validation is disabled for TLS connections. |