UNPKG

pr-desc-cli

Version:
9 lines (8 loc) 343 B
/** * Masks the middle part of an API key, showing only the first and last 4 characters. * @param apiKey The API key to mask. * @param visibleChars The number of characters to show at the start and end of the API key. * * @returns The masked API key. */ export declare function maskApiKey(apiKey: string, visibleChars?: number): string;