Skip to content

hectormotpauth

One Time Password (HOTP/TOTP) library for Node.js, Deno, Bun and browsers.

Repository stars
1,494 Star
All-time
#32,398 all time
Fork
88 Fork
Repository created
since 2017
Language
JavaScript
License
MIT
Commercial use OKMIT; keep the license notice
Actively maintainedLast push today

About

README

OTPAuth is a one-time password library for Node.js, Deno, Bun, and browsers.

What it does

  • It supports the generation and validation of HMAC-Based One-Time Passwords (HOTP) as specified in RFC 4226.
  • It also supports Time-Based One-Time Passwords (TOTP) as specified in RFC 6238.

Who it suits

It is frequently used in multi-factor authentication (MFA) or two-factor authentication (2FA) systems.

Limitations

LicenseMITDetails

The license is the MIT License. See LICENSE.md.

Summarized by AI from the README · As of 2026-12-02, hectorm/otpauth had 1,494 stars. According to the 2026-12-02 record, hectorm/otpauth is catalogued under AI Security & Privacy. A permissive license allows commercial use under its terms. The last push was on 2026-12-01. The figures come from a GitHub API snapshot. Stars count expressions of interest. Record updated: . About the data

Raw observations · 27
Historical observations
Measured atRepository starsSource
2026-12-02 00:52 UTC1,494Source
2026-12-01 01:31 UTC1,494Source
2026-11-30 00:49 UTC1,494Source
2026-11-29 00:47 UTC1,494Source
2026-11-28 00:48 UTC1,494Source
2026-11-27 00:49 UTC1,494Source
2026-11-26 00:49 UTC1,494Source
2026-11-25 01:25 UTC1,494Source
2026-11-24 01:21 UTC1,492Source
2026-11-23 01:21 UTC1,491Source
2026-11-22 01:23 UTC1,491Source
2026-11-21 01:36 UTC1,491Source
2026-11-20 01:20 UTC1,491Source
2026-11-19 01:26 UTC1,492Source
2026-11-18 01:27 UTC1,492Source
2026-11-17 01:25 UTC1,493Source
2026-11-16 01:14 UTC1,493Source
2026-11-15 01:34 UTC1,492Source
2026-11-14 01:35 UTC1,492Source
2026-11-13 01:20 UTC1,491Source
2026-11-12 00:53 UTC1,491Source
2026-11-11 01:43 UTC1,489Source
2026-11-10 00:54 UTC1,488Source
2026-11-09 00:49 UTC1,488Source
2026-11-08 00:49 UTC1,488Source
2026-11-07 14:20 UTC1,488Source
2026-11-06 12:10 UTC1,489Source

Add a badge to your README

For project authors: paste it into the README. It updates daily and links back here.

Badge preview
[![github.day](https://github.day/badge/otpauth.svg)](https://github.day/resources/otpauth?ref=badge)

Share this project

Share on X

First collected 2026-11-06Measured at 2026-12-02 00:52 UTCSourceLicense source

Compiled from public project information; not independently tested. · Repository Stars, not unique users · License tiers are derived from metadata. Check obligations for your use; unknown does not mean prohibited.