Skip to content
JS
Package

node-2fa

Easy 2-Factor Integration For Node.js

v2.0.3, 23 Nov 2021Apache-2.0CommonJSTypes: BundledAuthentication and authorisation
$ npm install node-2fa

Key numbers

As of 25 Sept 2026
Weekly downloads
42k
+54% over 12 months
Gzip bundle size
-
No Bundlephobia data
Dependencies
4
Direct, from package.json
Last release
4 years ago
v2.0.3
GitHub stars
219
28 forks
Open issues / PRs
5 / 15
Contributors
-
Commits, last 52 weeks
0

Downloads

Last week 2026-09-15 to 2026-09-21
020k40k60k80kSept 2025Mar 2026Sept 2026High 68.5k (18 Aug 2026)Low 14.1k (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.

42,022 downloads last week, 189,092 in the last month. The 12-month change of +54% compares the average of the last 4 weeks with the first 4 weeks of the series.

Releases, last 12 months
-
Latest version
2.0.3, 23 Nov 20214 years ago
First published
-
Last push to GitHub
6 Jan 20231,357 days before the snapshot
Repository archived
No
Open issues
5
Open pull requests
15
Commits, last 52 weeks
0
Dependents on npm
39

Major versions

-

Recent releases

-

Module format
CommonJSFrom package.json type, main and exports fields
TypeScript types
Bundled
Node.js engine range
Not declared
Runtimes
-
Unpacked size (npm)
18 kB
Dependencies (4)
notptslibthirty-two@types/notp
npm install node-2fa
  • jsDelivrhttps://cdn.jsdelivr.net/npm/node-2fa@2.0.3/
  • unpkghttps://unpkg.com/node-2fa@2.0.3/
  • esm.shhttps://esm.sh/node-2fa@2.0.3
Sources: npm registry, npm downloads API, GitHub API. Data fetched 25 Sept 2026.

Indexability: Indexed.