Skip to content

ElectronRemote.require method

ElectronRemote › require

Unofficial

Returns the module required from the main process by the given path.

Signature:

require(module: string): unknown

Parameters:

Parameter Type Description
module string The module path to require.

Returns: unknownThe required module.