Skip to content

yeojzotplib

One Time Password (OTP) / 2FA for Node.js and Browser - Supports HOTP, TOTP and Google Authenticator

Repository stars
2,311 Star
All-time
#24,479 all time
Fork
147 Fork
Repository created
since 2014
Language
TypeScript
License
MIT
Commercial use OKMIT; keep the license notice
Actively maintainedLast push today

About

README

otplib is a HOTP/TOTP library for Node.js and browsers, used to generate and verify one-time passwords.

It suits developers adding 2FA or Google Authenticator compatibility. It works with zero configuration, follows RFC specs, and offers a plugin interface.

Summarized by AI from the README · As of 2026-12-02, yeojz/otplib had 2,311 stars. According to the 2026-12-02 record, yeojz/otplib is catalogued under General Libraries & Utilities. 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 · 15
Historical observations
Measured atRepository starsSource
2026-12-02 04:27 UTC2,311Source
2026-12-01 05:04 UTC2,310Source
2026-11-30 04:12 UTC2,310Source
2026-11-29 04:06 UTC2,310Source
2026-11-28 04:10 UTC2,310Source
2026-11-27 04:14 UTC2,310Source
2026-11-26 04:15 UTC2,310Source
2026-11-25 19:21 UTC2,310Source
2026-11-12 07:18 UTC2,308Source
2026-11-11 06:51 UTC2,308Source
2026-11-10 05:45 UTC2,309Source
2026-11-09 05:01 UTC2,308Source
2026-11-08 05:02 UTC2,306Source
2026-11-07 22:15 UTC2,306Source
2026-11-06 08:25 UTC2,304Source

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/otplib.svg)](https://github.day/resources/otplib?ref=badge)

Share this project

Share on X

First collected 2026-11-06Measured at 2026-12-02 04:27 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.