ElectronRemote.require method
ElectronRemote › require
Unofficial
Returns the module required from the main process by the given path.Signature:
require(module: string): unknownParameters:
| Parameter | Type | Description |
|---|---|---|
| module | string | The module path to require. |
Returns: unknown — The required module.