editorMode

A value indicating whether the REPL is currently in "editor mode".

See also

https

://nodejs.org/dist/latest-v22.x/docs/api/repl.html#repl_commands_and_special_keys