UNPKG

@colingreybosh/otp-lib

Version:

A TypeScript library for generating, validating, and managing one-time passwords (OTP) for authentication purposes.

6 lines 357 B
export { OTPException } from './types'; export { TOTP } from './lib/totp'; export { getSecretLength, validateAlgorithm, validateCounter, validateDigits, validatePeriod, validateSecret, validateToken, } from './utils/validation'; export { generateSecret } from './utils/crypto'; export { TOTP as default } from './lib/totp'; //# sourceMappingURL=index.js.map