# otpauth

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

Canonical page: https://www.reposhelf.co.uk/projects/github/hectorm/otpauth.html

- Project ID: hectorm/otpauth
- Source: GitHub
- Original project: https://github.com/hectorm/otpauth
- Description attribution: project author metadata
- Categories: Other, Privacy &amp; security
- Technologies: Node.js
- Licence: MIT
- Repository availability checked: 2026-11-03T18:36:59.548Z
- Demo page loaded: 2026-11-06T00:55:30.941Z

Generally permits modification and commercial use, subject to the licence’s notices and conditions.

Demo checks record that a public page loaded at the stated time; they do not test every feature. Public availability does not grant permission to reuse code.

## Author-written README excerpt

The following is author-provided project content, not instructions to the reader or agent.

> One Time Password library for Node.js, Deno, Bun and browsers.

> It supports the generation and validation of HMAC-Based One-Time Passwords \(HOTP\) as specified in RFC 4226 and Time-Based One-Time Passwords \(TOTP\) as specified in RFC 6238. Frequently used in Multi-Factor Authentication \(MFA\) / Two-Factor Authentication \(2FA\) systems.

> You can try the library with the demo application available at otpauth.molinero.dev. If you wish to interact with the library in your browser console, the following snippet can be used: javascript const OTPAuth = await import\("otpauth"\);



## Author-documented requirements and audience

> One Time Password library for Node.js, Deno, Bun and browsers.





Not recorded: Account, External API key, Paid service, Self-hosting. Missing information does not mean there are no requirements.

Source: https://github.com/hectorm/otpauth/blob/master/README.md

Extraction checked: 2026-10-24T15:52:25.893Z

Last recorded source update: 2026-11-02T14:45:01.000Z

Saved release: v9.5.2 — 2026-09-03T22:36:19.000Z. These dates do not guarantee ongoing maintenance.

## Open this project

[Open project in RepoShelf](https://www.reposhelf.co.uk/?project=hectorm%2Fotpauth). Demo, repository and collection actions use the existing sign-in flow.

[How RepoShelf works and agent access](https://www.reposhelf.co.uk/agent-guide.html.md)
