Otplib is a TypeScript-first library for generating and verifying HOTP and TOTP one-time passwords across Node, Bun, Deno, and browsers.