Module Node_process

module Node_process: sig .. end
The process.uptime() method returns the number of seconds the current Node.js process has been running.)

type t = < abort : (unit -> unit [@bs.meth]); arch : string; argv : string array;
chdir : (string -> unit [@bs.meth]); cwd : (unit -> string [@bs.meth]);
disconnect : (unit -> unit [@bs.meth]); env : string Js_dict.t;
platform : string >
Js.t
val process : t
val argv : string array
val exit : int -> unit
val cwd : unit -> string
The process.uptime() method returns the number of seconds the current Node.js process has been running.)
val uptime : t -> unit -> float
The process.uptime() method returns the number of seconds the current Node.js process has been running.)
val putEnvVar : string -> string -> unit
val deleteEnvVar : string -> unit
Note that
process.env.X = undefined
will result in
process.env.X = "undefined"
The only sane way to do it is using `delete`