Extends

Properties

P arch: string

Type:
  • string

P argv: string[]

Type:
  • Array.<string>

P env: any

Type:
  • any

P execPath: string

Type:
  • string

P pid: number

Type:
  • number

P platform: string

Type:
  • string

P title: string

Type:
  • string

P version: string

Type:
  • string

Methods

M abort() void

Returns: { void }

M addListener(event: string, listener: function) NodeJS.EventEmitter

Parameters:
Name Type
event string
listener function
Inherited From:
Returns: { NodeJS.EventEmitter }

M chdir(directory: string) void

Parameters:
Name Type
directory string
Returns: { void }

M cwd() string

Returns: { string }

M emit(event: string, ...args: any) boolean

Parameters:
Name Type Argument
event string
...args any <repeatable>
Inherited From:
Returns: { boolean }

M exit(code: number) void

Parameters:
Name Type Argument
code number <optional>
Returns: { void }

M getgid() number

Returns: { number }

M getuid() number

Returns: { number }

M hrtime(time: number[]) number[]

Parameters:
Name Type Argument
time Array.<number> <optional>
Returns: { Array.<number> }

M kill(pid: number, signal: string) void

Parameters:
Name Type Argument
pid number
signal string <optional>
Returns: { void }

M listeners(event: string) function()[]

Parameters:
Name Type
event string
Inherited From:
Returns: { Array.<function()> }

M nextTick(callback: function) void

Parameters:
Name Type
callback function
Returns: { void }

M on(event: string, listener: function) NodeJS.EventEmitter

Parameters:
Name Type
event string
listener function
Inherited From:
Returns: { NodeJS.EventEmitter }

M once(event: string, listener: function) NodeJS.EventEmitter

Parameters:
Name Type
event string
listener function
Inherited From:
Returns: { NodeJS.EventEmitter }

M removeAllListeners(event: string) NodeJS.EventEmitter

Parameters:
Name Type Argument
event string <optional>
Inherited From:
Returns: { NodeJS.EventEmitter }

M removeListener(event: string, listener: function) NodeJS.EventEmitter

Parameters:
Name Type
event string
listener function
Inherited From:
Returns: { NodeJS.EventEmitter }

M send(message: any, sendHandle: any) void

Parameters:
Name Type Argument
message any
sendHandle any <optional>
Returns: { void }

M setgid(id: number) void

Parameters:
Name Type
id number
Returns: { void }

M setgid(id: string) void

Parameters:
Name Type
id string
Returns: { void }

M setMaxListeners(n: number) void

Parameters:
Name Type
n number
Inherited From:
Returns: { void }

M setuid(id: number) void

Parameters:
Name Type
id number
Returns: { void }

M setuid(id: string) void

Parameters:
Name Type
id string
Returns: { void }

M umask(mask: number) number

Parameters:
Name Type Argument
mask number <optional>
Returns: { number }

M uptime() number

Returns: { number }

Type Definitions

T ConfigType

Type:
  • Object
Properties:
Name Type
target_defaults NodeJS.Process.ConfigType.Target_defaultsType
variables NodeJS.Process.ConfigType.VariablesType

T MemoryUsageReturnsType

Type:
  • Object
Properties:
Name Type
rss number
heapTotal number
heapUsed number

T VersionsType

Type:
  • Object
Properties:
Name Type
http_parser string
node string
v8 string
ares string
uv string
zlib string
openssl string