:key: One Time Password (OTP) / 2FA for Node.js and Browser - Supports HOTP, TOTP and Google Authenticator
This is a rewrite of the entire library using TypeScript. Please visit https://github.com/yeojz/otplib/wiki/Upgrading-to-v12 for major changes.
core
, plugin
and preset
async
support