global

object global
class Object
trait Matchable
class Any

Type members

Classlikes

@JSGlobal("AbortController") @native @JSType
class AbortController() extends StObject with AbortController
@JSGlobal("AbortSignal") @native @JSType
class AbortSignal() extends StObject with AbortSignal
object NodeJS
object console extends Shortcut

Value members

Concrete methods

@JSGlobal("__dirname") @native
def dirname: String
@inline
def dirname_=(x: String): Unit
@JSGlobal("exports") @native
def exports: Any
@inline
def exports_=(x: Any): Unit
@JSGlobal("__filename") @native
def filename: String
@inline
def filename_=(x: String): Unit
@JSGlobal("gc") @native
def gc: UndefOr[Function0[Unit]]

Only available if --expose-gc is passed to the process.

Only available if --expose-gc is passed to the process.

@inline
def gc_=(x: UndefOr[Function0[Unit]]): Unit
@JSGlobal("global") @native
def global: Any
@inline
def global_=(x: Any): Unit
@JSGlobal("module") @native
@inline
def module_=(x: NodeModule): Unit
@JSGlobal("process") @native
@inline
def process_=(x: Process): Unit
@JSGlobal("require") @native
@inline
def require_=(x: NodeRequire): Unit