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 |
Returns: unknown — The required module.