One Time Password (HOTP/TOTP) library for Node.js, Deno, Bun and browsers
HMAC-based (HOTP) and Time-based (TOTP) One-Time Password library
Two-factor authentication for Node.js. One-time passcode generator (HOTP/TOTP) with support for Google Authenticator.
Create and verify cryptographically secure Time-based One-time Passwords (TOTP) using the HMAC-based One-time Password (HOTP) algorithm.