@stacksjs/launchpad
Version:
Like Homebrew, but faster.
13 lines • 683 B
TypeScript
import type { PackageSpec } from './types';
/**
* Main installation function with type-safe package specifications
*/
export declare function install(packages: PackageSpec | PackageSpec[], basePath?: string): Promise<string[]>;
/**
* Install packages in parallel with concurrency control
*/
export declare function installPackagesInParallel(packages: string[], installPath: string, _maxConcurrency: number): Promise<Array<{ package: string, success: boolean, files: string[], error?: string }>>;
/**
* Download with resumption support for large files
*/
export declare function _downloadWithResumption(_url: string, _destination: string, _expectedSize?: number): Promise<void>;