UNPKG

otp-agent

Version:

A JavaScript package for generating one-time passwords (OTPs), including custom OTPs, TOTP, HOTP, and recovery codes. Ideal for secure authentication.

8 lines 325 B
interface GenerateRecoveryCodesProps { numberOfCodes: number; codeLength: number; encoding?: "hex" | "base32" | "base64"; } export declare function generateRecoveryCodes({ numberOfCodes, codeLength, encoding, }: GenerateRecoveryCodesProps): string[]; export {}; //# sourceMappingURL=generateRecoveryCodes.d.ts.map