Packages

c

io.scalajs.nodejs.repl

EnvironmentVariableOptions

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
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EnvironmentVariableOptions
  2. AnyVal
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new EnvironmentVariableOptions(env: Environment)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    Any
  2. final def ##(): Int
    Definition Classes
    Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    Any
  4. 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()
  5. 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()
  6. 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()
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def getClass(): Class[_ <: AnyVal]
    Definition Classes
    AnyVal → Any
  9. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  10. def toString(): String
    Definition Classes
    Any

Inherited from AnyVal

Inherited from Any

Ungrouped