Skip to content

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

Repository files navigation

webauthn-parser

Set of utils for parsing WebAuthn data.

Usage

import { parseClient } from "webauthn-parser";

// clientDataJSON comes from credential.response.clientDataJSON
const collectedClientData = parseClient(clientDataJSON);
console.log(collectedClientData);
import { parseClient } from "webauthn-parser";

// authenticatorData comes from credential.response.getAuthenticatorData()
const authenticatorDataResult = parseAuthenticatorData(authenticatorData);
console.log(authenticatorDataResult);

Development

To install dependencies:

bun install

To test:

bun run test

To build:

bun run build

About

No description, website, or topics provided.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages