Skip to main content
method Process.getBuiltinModule
Process.getBuiltinModule<ID extends keyof BuiltInModule>(id: ID): BuiltInModule[ID]
Deprecated

Provides a way to load built-in modules in a globally available function.

Type Parameters

ID extends keyof BuiltInModule

Parameters

id: ID

ID of the built-in module being requested.

Return Type

BuiltInModule[ID]
Process.getBuiltinModule(id: string): object | undefined
Deprecated

Parameters

id: string

Return Type

object | undefined
Back to top