Package
2fa
TOTP + HOTP library, with nice utilities for handing 2FA
Key numbers
As of 25 Sept 2026
- Weekly downloads
- 4.9k
- -64% over 12 months
- Gzip bundle size
- -
- No Bundlephobia data
- Dependencies
- 2
- Direct, from package.json
- Last release
- 11 years ago
- v0.1.2
- GitHub stars
- 168
- 21 forks
- Open issues / PRs
- 2 / 0
- Contributors
- -
- Commits, last 52 weeks
- 0
Downloads
Last week 2026-09-15 to 2026-09-21
4,900 downloads last week, 20,999 in the last month. The 12-month change of -64% compares the average of the last 4 weeks with the first 4 weeks of the series.
- Releases, last 12 months
- -
- Latest version
- 0.1.2, 21 Apr 201511 years ago
- First published
- -
- Last push to GitHub
- 18 Feb 2024949 days before the snapshot
- Repository archived
- No
- Open issues
- 2
- Open pull requests
- 0
- Commits, last 52 weeks
- 0
- Dependents on npm
- 6
Major versions
-
Recent releases
-
- Module format
- CommonJSFrom package.json type, main and exports fields
- TypeScript types
- None
- Node.js engine range
- Not declared
- Runtimes
- -
- Unpacked size (npm)
- -
- Dependencies (2)
qr-imagethirty-two
npm install 2fa- jsDelivr
https://cdn.jsdelivr.net/npm/2fa@0.1.2/ - unpkg
https://unpkg.com/2fa@0.1.2/ - esm.sh
https://esm.sh/2fa@0.1.2
Indexability: Not indexed (discovery only): downloads_week 4900 < 10000.