UNPKG

@electron/rebuild

Version:

Electron supporting package to rebuild native node modules against the currently installed electron

11 lines (10 loc) 381 B
import { NativeModule } from './index.js'; export declare class NodePreGyp extends NativeModule { usesTool(): Promise<boolean>; locateBinary(): Promise<string | null>; run(nodePreGypPath: string): Promise<void>; findPrebuiltModule(): Promise<boolean>; getNodePreGypRuntimeArgs(): Promise<string[]>; private shouldUpdateBinary; private getModulePaths; }