2fa-hotp-totp

Zero dependency HOTP/TOTP 2FA

Usage no npm install needed!

<script type="module">
  import faHotpTotp from 'https://cdn.skypack.dev/2fa-hotp-totp';
</script>

README

Help

Rate me

2FA-HOTP-TOTP

Zero-dependency

1kB gzipped

The minimum version of Node.js required is 15 ⚠️

My implementation of 2FA HOTP/TOTP algorithms in TypeScript + base32 encoder for creating links for authenticator programs like Google Authenticator

Full documentation 👇

https://tabmk.github.io/2fa-hotp-totp/