Ross ROSS = Recommend OSS · open-source software intelligence for agents

hectorm/otpauth

One Time Password (HOTP/TOTP) library for Node.js, Deno, Bun and browsers. observed · 2026-08-28

github.com/hectorm/otpauth · homepage · JavaScript · MIT (permissive) observed · 2026-08-28

Health v2 · maintenance only

86/100

  • Activity 94
  • Release rhythm 69
  • Longevity 100
How is this computed?

round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-02. Adoption (stars, forks) is never an input.

  • gap_med: 79
  • age_days: 3529
  • days_rel: 130
  • days_push: 39
  • n_releases_24m: 8

Full methodology

Adoption not part of the score

1471 stars · 82 forks observed · 2026-08-28

What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded

A JavaScript One-Time Password library implementing HOTP (RFC 4226) and TOTP (RFC 6238) for generating and validating 2FA tokens. It runs in Node.js, Deno, Bun, and browsers, and supports secret generation, token validation, and otpauth:// URI handling.

Use cases

  • add TOTP two-factor authentication to a web app
  • generate and validate HOTP/TOTP tokens in Node.js
  • implement 2FA compatible with Google Authenticator
  • generate otpauth:// URIs for authenticator apps
  • generate cryptographically secure OTP secrets in the browser

When to choose

  • you need a dependency-light, cross-runtime (Node/Deno/Bun/browser) OTP library
  • you need standards-compliant HOTP/TOTP with RFC 4226/6238 support
  • you want to interoperate with Google Authenticator and similar apps

When to avoid

  • you need full MFA infrastructure with SMS or push-based factors
  • you need a server-side identity platform with user management, not just OTP generation
  • your stack is not JavaScript-based

Facets

library · maturity stable

auth cryptography security security web-development developer-tools bun browser cross-platform otp hotp totp two-factor-authentication 2fa google-authenticator rfc-4226 rfc-6238 mfa nodejs deno javascript

3 sources

Member repositories

RepositoryRoleHealth v2
hectorm/otpauthmain86

For agents

markdown · JSON · MCP: product_card(name="hectorm/otpauth")

Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem