@stacksjs/launchpad
Version:
Like Homebrew, but faster.
9 lines • 462 B
TypeScript
import type { SupportedArchitecture, SupportedPlatform } from './types';
/**
* Install a single package with all its dependencies
*/
export declare function installPackage(packageName: string, packageSpec: string, installPath: string): Promise<string[]>;
/**
* Download and extract package
*/
export declare function downloadPackage(domain: string, version: string, os: SupportedPlatform, arch: SupportedArchitecture, installPath: string): Promise<string[]>;