Combine password + TOTP + passkey into 2FA/3FA step-up flows with NIST assurance levels (AAL1–3). Track which factors are cleared and decide when a policy is satisfied.
Install
$ npm install @lacspace/mfa
Quick example
@lacspace/mfats
mfaSession(cfg).markVerified("totp").satisfied
Returns true
Tips
Zero-dependency and isomorphic — safe to import on the server, in the browser, on the edge and in React Native. It tree-shakes, so you only ship what you import.
Looking for the complete API and more examples? The npm page and GitHub README carry the full reference — or grab the PDF.