implicit final class EnvironmentVariableOptions extends AnyVal
Various behaviors of the Node.js REPL can be customized using the following environment variables:
- NODE_REPL_HISTORY
- NODE_REPL_HISTORY_SIZE
- NODE_REPL_MODE
- Alphabetic
- By Inheritance
- EnvironmentVariableOptions
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new EnvironmentVariableOptions(env: Environment)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##(): Int
- Definition Classes
- Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def NODE_REPL_HISTORY: Option[String]
When a valid path is given, persistent REPL history will be saved to the specified file rather than .node_repl_history in the user's home directory.
When a valid path is given, persistent REPL history will be saved to the specified file rather than .node_repl_history in the user's home directory. Setting this value to "" will disable persistent REPL history. Whitespace will be trimmed from the value.
- Annotations
- @inline()
- def NODE_REPL_HISTORY_SIZE: Option[Int]
Defaults to 1000.
Defaults to 1000. Controls how many lines of history will be persisted if history is available. Must be a positive number.
- Annotations
- @inline()
- def NODE_REPL_MODE: Option[String]
May be any of sloppy, strict, or magic.
May be any of sloppy, strict, or magic. Defaults to magic, which will automatically run "strict mode only" statements in strict mode.
- Annotations
- @inline()
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def toString(): String
- Definition Classes
- Any