Skip to content
JS
Package

otp-io

🕖 Typed library to work 2fa via Google Authenticator/Time-based TOTP/Hmac-based HOTP

v1.2.7, 31 Dec 2024MITESM + CommonJSTypes: BundledAuthentication and authorisation
$ npm install otp-io

Key numbers

As of 25 Sept 2026
Weekly downloads
38.6k
+544% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
0
Direct, from package.json
Last release
1 year ago
v1.2.7
GitHub stars
16
0 forks
Open issues / PRs
0 / 0
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020k40k60k80kSept 2025Mar 2026Sept 2026High 66.6k (28 Jul 2026)Low 3.9k (23 Dec 2025)
Weekly npm downloads, one point per week, weeks starting 23 Sept 2025 to 15 Sept 2026. The y axis starts at zero.

38,565 downloads last week, 196,342 in the last month. The 12-month change of +544% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
1.2.7, 31 Dec 20241 year ago
First published
-
Last push to GitHub
31 Dec 2024632 days before the snapshot
Repository archived
No
Open issues
0
Open pull requests
0
Commits, last 52 weeks
0
Dependents on npm
10

Major versions

-

Recent releases

-

Module format
ESM + CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
>=14
Runtimes
-
Unpacked size (npm)
72 kB
Dependencies (0)
None
npm install otp-io
  • jsDelivrhttps://cdn.jsdelivr.net/npm/otp-io@1.2.7/
  • unpkghttps://unpkg.com/otp-io@1.2.7/
  • esm.shhttps://esm.sh/otp-io@1.2.7
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.