@pnpm/tarball-fetcher
Version:
Fetcher for packages hosted as tarballs
8 lines (7 loc) • 352 B
TypeScript
import { type FetchFunction } from '@pnpm/fetcher-base';
export interface CreateGitHostedTarballFetcher {
ignoreScripts?: boolean;
rawConfig: Record<string, unknown>;
unsafePerm?: boolean;
}
export declare function createGitHostedTarballFetcher(fetchRemoteTarball: FetchFunction, fetcherOpts: CreateGitHostedTarballFetcher): FetchFunction;