{"@context":"https://w3id.org/codemeta/3.0","@type":"SoftwareSourceCode","identifier":"pkg:npm/2fa-lib","name":"2fa-lib","description":"Tiny zero-dependency TOTP and HOTP library for Node.js, browsers, Deno, Bun, Cloudflare Workers and edge runtimes. RFC 6238 / RFC 4226 compliant. Google Authenticator compatible two-factor authentication (2FA / MFA) for JavaScript and TypeScript.","version":"0.1.2","softwareVersion":"0.1.2","license":"https://spdx.org/licenses/MIT","codeRepository":"https://github.com/ai-mehedi/2fa-lib","url":"https://github.com/ai-mehedi/2fa-lib#readme","keywords":["totp","hotp","otp","2fa","mfa","two-factor","two-factor-authentication","multi-factor","multi-factor-authentication","authenticator","google-authenticator","authy","1password","rfc6238","rfc4226","rfc-6238","rfc-4226","one-time-password","one-time-passcode","time-based","time-based-otp","hmac","hmac-otp","qrcode","qr-code","otpauth","security","auth","authentication","login","verify","totp-generator","totp-verify","node","browser","deno","bun","edge","cloudflare-workers","vercel-edge","typescript","esm","zero-dependencies","lightweight","tiny"],"maintainer":[{"@type":"Person","name":"ai-mehedi"}],"author":[{"@type":"Person","name":"ai-mehedi"}],"copyrightHolder":[{"@type":"Person","name":"ai-mehedi"}],"dateCreated":"2026-04-08","dateModified":"2026-04-08","datePublished":"2026-04-08","copyrightYear":2026,"downloadUrl":"https://registry.npmjs.org/2fa-lib/-/2fa-lib-0.1.2.tgz","applicationCategory":"npm","runtimePlatform":"npm","sameAs":["https://www.npmjs.com/package/2fa-lib"]}