UNPKG

@stacksjs/launchpad

Version:
15 lines 484 B
/** * Smart install function that tries multiple installation methods */ export declare function smartInstall(packages: string[], verbose?: any): Promise<InstallResult>; /** * Check if a package manager is available on the system */ export declare function checkPackageManager(manager: string): Promise<boolean>; export declare interface InstallResult { success: boolean method: 'launchpad' | 'brew' | 'apt' | 'manual' packages: string[] message: string error?: string }