Fields
optionalwriter:Null<Dynamic ‑> Void>
The function to invoke to format the output of each command before writing to output.
Default: util.inspect().
optionalterminal:Null<Bool>
If true, specifies that the output should be treated as a TTY terminal.
Default: checking the value of the isTTY property on the output stream upon instantiation.
optionalreplMode:Null<Symbol>
A flag that specifies whether the default evaluator executes all JavaScript commands in strict mode or default
(sloppy) mode.
Acceptable values are repl.REPL_MODE_SLOPPY or repl.REPL_MODE_STRICT.
optionaloutput:Null<IWritable>
The Writable stream to which REPL output will be written.
Default: process.stdout.
optionalinput:Null<IReadable>
The Readable stream from which REPL input will be read.
Default: process.stdin.
optionalignoreUndefined:Null<Bool>
optionaleval:Null<(code:String, context:DynamicAccess<Dynamic>, file:String, cb:(error:Null<Error>, result:Dynamic) ‑> Void) ‑> Void>
The function to be used when evaluating each given line of input.
Default: an async wrapper for the JavaScript eval() function.
optionalcompleter:Null<ReadlineCompleterCallback>
An optional function used for custom Tab auto completion.
optionalbreakEvalOnSigint:Null<Bool>
Stop evaluating the current piece of code when SIGINT is received, i.e. Ctrl+C is pressed.
This cannot be used together with a custom eval function.
Default: false.