UNPKG

@expo/devcert

Version:

Generate trusted local SSL/TLS certificates for local SSL development

10 lines (9 loc) 619 B
import { ExecFileSyncOptions } from 'child_process'; export declare function openssl(args: string[]): string | Buffer; export declare function run(cmd: string, args: string[], options?: ExecFileSyncOptions): string | Buffer; export declare function sudoAppend(file: string, input: ExecFileSyncOptions["input"]): void; export declare function waitForUser(): Promise<unknown>; export declare function reportableError(message: string): Error; export declare function mktmp(): string; export declare function sudo(cmd: string): Promise<string | null>; export declare function commandExists(command: string): string | null;