UNPKG

otp-io

Version:

🕖 Typed library to work 2fa via Google Authenticator/Time-based TOTP/Hmac-based HOTP

6 lines (5 loc) • 137 B
if (typeof window !== "undefined") { module.exports = require("./crypto-web"); } else { module.exports = require("./crypto-node"); }