@juspay/neurolink
Version:
The pipe layer of an AI nervous system: one interface connecting provider neurons to your application, across three inference types — generate, stream and decide. `decide` returns typed, calibrated judgements from a non-generative model (~400ms, ~$0.00002
12 lines (11 loc) • 400 B
TypeScript
/**
* Unified credential masking utility for CLI setup commands.
*
* Preserves known provider prefixes (sk-, sk-ant-, AIza, AKIA) so
* users can identify which key is configured, while hiding the secret
* portion with asterisks.
*
* @param credential - Raw API key or secret
* @returns Masked string, e.g. "sk-****abcd"
*/
export declare function maskCredential(credential: string): string;