UNPKG

create-expo-module

Version:

The script to create the Expo module

14 lines (13 loc) 577 B
import { TarTypeFlag } from 'multitars'; export interface ExtractOptions { strip?: number; filter?(name: string, type: TarTypeFlag): boolean | null | undefined; rename?(name: string, type: TarTypeFlag): string | null | undefined; checksumAlgorithm?: string; } export declare function extractStream(input: ReadableStream, targetOutput: string, options?: ExtractOptions): Promise<string>; /** Extract a local tarball file to a directory */ export declare function extractLocalTarball({ filePath, dir }: { filePath: string; dir: string; }): Promise<void>;