@ackee/otpass
TypeScript icon, indicating that this package has built-in type declarations

0.2.3 • Public • Published

OTPass

Module for HOTP (IETF RFC 4226) and TOTP (IETF RFC 6238) one time password codes without any dependencies for Node. Fully tested accordign to RFC specification, exposing full API of respective reference implementations.

Usage

OTPass is a library made for easy implementation of OTP functionality into your Node applications.

  • 📑 Implemented in accordance with RFC specifications
  • 🔑 Easily generate secrets and Google authentification URIs
  • 🔐 Generate HOTP and TOTP codes
  • ✔️ Validate codes, including custom time settings and sliding windows for range validation

What are we talking about here?

Time based one-time password (Wikipedia)

HMAC based one-time password (Wikipedia)

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
0.2.326latest

Version History

VersionDownloads (Last 7 Days)Published
0.2.326
0.2.20
0.2.10
0.2.01
0.1.50
0.1.40

Package Sidebar

Install

npm i @ackee/otpass

Weekly Downloads

27

Version

0.2.3

License

MIT

Unpacked Size

25 kB

Total Files

15

Last publish

Collaborators

  • pivl
  • hofp37
  • grissius
  • ackeecz
  • horaklukas
  • borecekbaji
  • davidbilik