FaceID, fingerprint and security keys via WebAuthn — browser ceremony helpers plus server challenge, options and real ES256/RS256 assertion verification (CBOR/COSE parse, DER handling) over Web Crypto.
Install
$ npm install @lacspace/webauthn
Quick example
@lacspace/webauthnts
await verifyAuthentication({ … })
Returns { verified, newCounter }
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.