{"adoption": {"forks": 82, "observed_at": "2026-08-28T04:04:49.288863+00:00", "stars": 1471}, "canonical_url": "https://ross.abutalabs.com/products/otpauth", "card": {"archived": false, "artifact_type": "library", "description": "One Time Password (HOTP/TOTP) library for Node.js, Deno, Bun and browsers.", "domain": ["security", "web-development", "developer-tools"], "enriched": true, "function": ["auth", "cryptography", "security"], "health_score": 95, "homepage": "https://hectorm.github.io/otpauth/", "language": "JavaScript", "license": "MIT", "license_family": "permissive", "maturity": "stable", "member_repos": ["hectorm/otpauth"], "name": "hectorm/otpauth", "platform": ["bun", "browser", "cross-platform"], "pushed_at": "2026-07-25T14:08:21+00:00", "repo": "hectorm/otpauth", "stars": 1471, "tags": ["otp", "hotp", "totp", "two-factor-authentication", "2fa", "google-authenticator", "rfc-4226", "rfc-6238", "mfa", "nodejs", "deno", "javascript"], "topics": ["otpauth", "hotp", "totp", "otp", "two-factor", "two-factor-authentication", "authenticator", "google-authenticator", "auth", "javascript", "nodejs", "node", "browser", "security", "deno", "bun"], "urls": [], "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"], "what_it_is": "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.", "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"], "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"]}, "data_as_of": "2026-08-30T08:39:29.467469+00:00", "members": [{"path": "/products/otpauth", "repo": "hectorm/otpauth", "role": "main", "score": 86}], "provenance": {"archived": {"kind": "observed", "observed_at": "2026-08-28T04:04:49.288863+00:00", "source": "github"}, "artifact_type": {"confidence": null, "enriched_at": "2026-08-30T04:34:46.344248+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "25c495478e87fa072879967be92e514d383db45420b7bc27f94ed554f90a40a8", "fetched_at": "2026-08-28T04:04:49.288863+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hectorm/otpauth"}, {"content_hash": "a375b3022e7e56425f24b8aa1bed126a3bdb7ce556b58046b8d84bcdeaa75254", "fetched_at": "2026-08-29T11:42:53.011640+00:00", "kind": "homepage", "missing": false, "url": "https://hectorm.github.io/otpauth/"}, {"content_hash": "ccac0cbf4a99aa8a1d23a080e0a01bd41decd7e844c9d16e7b2ba2ce9b63fc34", "fetched_at": "2026-08-29T11:42:53.020555+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/otpauth"}], "taxonomy_version": 1}, "description": {"kind": "observed", "observed_at": "2026-08-28T04:04:49.288863+00:00", "source": "github"}, "domain": {"confidence": null, "enriched_at": "2026-08-30T04:34:46.344248+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "25c495478e87fa072879967be92e514d383db45420b7bc27f94ed554f90a40a8", "fetched_at": "2026-08-28T04:04:49.288863+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hectorm/otpauth"}, {"content_hash": "a375b3022e7e56425f24b8aa1bed126a3bdb7ce556b58046b8d84bcdeaa75254", "fetched_at": "2026-08-29T11:42:53.011640+00:00", "kind": "homepage", "missing": false, "url": "https://hectorm.github.io/otpauth/"}, {"content_hash": "ccac0cbf4a99aa8a1d23a080e0a01bd41decd7e844c9d16e7b2ba2ce9b63fc34", "fetched_at": "2026-08-29T11:42:53.020555+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/otpauth"}], "taxonomy_version": 1}, "enriched": {"inputs": [], "kind": "computed", "method": "enrichment_status"}, "function": {"confidence": null, "enriched_at": "2026-08-30T04:34:46.344248+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "25c495478e87fa072879967be92e514d383db45420b7bc27f94ed554f90a40a8", "fetched_at": "2026-08-28T04:04:49.288863+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hectorm/otpauth"}, {"content_hash": "a375b3022e7e56425f24b8aa1bed126a3bdb7ce556b58046b8d84bcdeaa75254", "fetched_at": "2026-08-29T11:42:53.011640+00:00", "kind": "homepage", "missing": false, "url": "https://hectorm.github.io/otpauth/"}, {"content_hash": "ccac0cbf4a99aa8a1d23a080e0a01bd41decd7e844c9d16e7b2ba2ce9b63fc34", "fetched_at": "2026-08-29T11:42:53.020555+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/otpauth"}], "taxonomy_version": 1}, "health_score": {"inputs": ["days_since_push", "days_since_release", "archived"], "kind": "computed", "method": "health_v1"}, "homepage": {"kind": "observed", "observed_at": "2026-08-28T04:04:49.288863+00:00", "source": "github"}, "language": {"kind": "observed", "observed_at": "2026-08-28T04:04:49.288863+00:00", "source": "github"}, "license": {"kind": "observed", "observed_at": "2026-08-28T04:04:49.288863+00:00", "source": "github"}, "license_family": {"inputs": ["license"], "kind": "computed", "method": "license_family"}, "maturity": {"confidence": null, "enriched_at": "2026-08-30T04:34:46.344248+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "25c495478e87fa072879967be92e514d383db45420b7bc27f94ed554f90a40a8", "fetched_at": "2026-08-28T04:04:49.288863+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hectorm/otpauth"}, {"content_hash": "a375b3022e7e56425f24b8aa1bed126a3bdb7ce556b58046b8d84bcdeaa75254", "fetched_at": "2026-08-29T11:42:53.011640+00:00", "kind": "homepage", "missing": false, "url": "https://hectorm.github.io/otpauth/"}, {"content_hash": "ccac0cbf4a99aa8a1d23a080e0a01bd41decd7e844c9d16e7b2ba2ce9b63fc34", "fetched_at": "2026-08-29T11:42:53.020555+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/otpauth"}], "taxonomy_version": 1}, "member_repos": {"kind": "observed", "observed_at": "2026-08-28T04:04:49.288863+00:00", "source": "github"}, "name": {"kind": "observed", "observed_at": "2026-08-28T04:04:49.288863+00:00", "source": "github"}, "platform": {"confidence": null, "enriched_at": "2026-08-30T04:34:46.344248+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "25c495478e87fa072879967be92e514d383db45420b7bc27f94ed554f90a40a8", "fetched_at": "2026-08-28T04:04:49.288863+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hectorm/otpauth"}, {"content_hash": "a375b3022e7e56425f24b8aa1bed126a3bdb7ce556b58046b8d84bcdeaa75254", "fetched_at": "2026-08-29T11:42:53.011640+00:00", "kind": "homepage", "missing": false, "url": "https://hectorm.github.io/otpauth/"}, {"content_hash": "ccac0cbf4a99aa8a1d23a080e0a01bd41decd7e844c9d16e7b2ba2ce9b63fc34", "fetched_at": "2026-08-29T11:42:53.020555+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/otpauth"}], "taxonomy_version": 1}, "pushed_at": {"kind": "observed", "observed_at": "2026-08-28T04:04:49.288863+00:00", "source": "github"}, "repo": {"kind": "observed", "observed_at": "2026-08-28T04:04:49.288863+00:00", "source": "github"}, "stars": {"kind": "observed", "observed_at": "2026-08-28T04:04:49.288863+00:00", "source": "github"}, "tags": {"confidence": null, "enriched_at": "2026-08-30T04:34:46.344248+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "25c495478e87fa072879967be92e514d383db45420b7bc27f94ed554f90a40a8", "fetched_at": "2026-08-28T04:04:49.288863+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hectorm/otpauth"}, {"content_hash": "a375b3022e7e56425f24b8aa1bed126a3bdb7ce556b58046b8d84bcdeaa75254", "fetched_at": "2026-08-29T11:42:53.011640+00:00", "kind": "homepage", "missing": false, "url": "https://hectorm.github.io/otpauth/"}, {"content_hash": "ccac0cbf4a99aa8a1d23a080e0a01bd41decd7e844c9d16e7b2ba2ce9b63fc34", "fetched_at": "2026-08-29T11:42:53.020555+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/otpauth"}], "taxonomy_version": 1}, "topics": {"kind": "observed", "observed_at": "2026-08-28T04:04:49.288863+00:00", "source": "github"}, "urls": {"kind": "observed", "observed_at": "2026-08-28T04:04:49.288863+00:00", "source": "github"}, "use_cases": {"confidence": null, "enriched_at": "2026-08-30T04:34:46.344248+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "25c495478e87fa072879967be92e514d383db45420b7bc27f94ed554f90a40a8", "fetched_at": "2026-08-28T04:04:49.288863+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hectorm/otpauth"}, {"content_hash": "a375b3022e7e56425f24b8aa1bed126a3bdb7ce556b58046b8d84bcdeaa75254", "fetched_at": "2026-08-29T11:42:53.011640+00:00", "kind": "homepage", "missing": false, "url": "https://hectorm.github.io/otpauth/"}, {"content_hash": "ccac0cbf4a99aa8a1d23a080e0a01bd41decd7e844c9d16e7b2ba2ce9b63fc34", "fetched_at": "2026-08-29T11:42:53.020555+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/otpauth"}], "taxonomy_version": 1}, "what_it_is": {"confidence": null, "enriched_at": "2026-08-30T04:34:46.344248+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "25c495478e87fa072879967be92e514d383db45420b7bc27f94ed554f90a40a8", "fetched_at": "2026-08-28T04:04:49.288863+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hectorm/otpauth"}, {"content_hash": "a375b3022e7e56425f24b8aa1bed126a3bdb7ce556b58046b8d84bcdeaa75254", "fetched_at": "2026-08-29T11:42:53.011640+00:00", "kind": "homepage", "missing": false, "url": "https://hectorm.github.io/otpauth/"}, {"content_hash": "ccac0cbf4a99aa8a1d23a080e0a01bd41decd7e844c9d16e7b2ba2ce9b63fc34", "fetched_at": "2026-08-29T11:42:53.020555+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/otpauth"}], "taxonomy_version": 1}, "when_to_avoid": {"confidence": null, "enriched_at": "2026-08-30T04:34:46.344248+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "25c495478e87fa072879967be92e514d383db45420b7bc27f94ed554f90a40a8", "fetched_at": "2026-08-28T04:04:49.288863+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hectorm/otpauth"}, {"content_hash": "a375b3022e7e56425f24b8aa1bed126a3bdb7ce556b58046b8d84bcdeaa75254", "fetched_at": "2026-08-29T11:42:53.011640+00:00", "kind": "homepage", "missing": false, "url": "https://hectorm.github.io/otpauth/"}, {"content_hash": "ccac0cbf4a99aa8a1d23a080e0a01bd41decd7e844c9d16e7b2ba2ce9b63fc34", "fetched_at": "2026-08-29T11:42:53.020555+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/otpauth"}], "taxonomy_version": 1}, "when_to_choose": {"confidence": null, "enriched_at": "2026-08-30T04:34:46.344248+00:00", "kind": "inferred", "prompt_version": 1, "sources": [{"content_hash": "25c495478e87fa072879967be92e514d383db45420b7bc27f94ed554f90a40a8", "fetched_at": "2026-08-28T04:04:49.288863+00:00", "kind": "readme", "missing": false, "url": "https://github.com/hectorm/otpauth"}, {"content_hash": "a375b3022e7e56425f24b8aa1bed126a3bdb7ce556b58046b8d84bcdeaa75254", "fetched_at": "2026-08-29T11:42:53.011640+00:00", "kind": "homepage", "missing": false, "url": "https://hectorm.github.io/otpauth/"}, {"content_hash": "ccac0cbf4a99aa8a1d23a080e0a01bd41decd7e844c9d16e7b2ba2ce9b63fc34", "fetched_at": "2026-08-29T11:42:53.020555+00:00", "kind": "registry_npm", "missing": false, "url": "https://registry.npmjs.org/otpauth"}], "taxonomy_version": 1}}, "score": {"components": {"activity": 94, "longevity": 100, "rhythm": 69}, "computed_at": "2026-09-02T17:46:02.011165+00:00", "flags": [], "formula": "round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)", "inputs": {"age_days": 3529, "days_push": 39, "days_rel": 130, "gap_med": 79, "n_releases_24m": 8}, "score": 86, "version": 2}, "staleness": {"enrichment_outdated": false, "low_confidence": false, "scrape_days": 9, "stale_scrape": false}}