1.0.0 • Published 2 years ago

@ownid/webauthn v1.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
2 years ago

Passkeys/WebAuthn

WebAuthn

Overview

This package developed in order to simplify the amount of work needed to implement WebAuthn into your website.

Installation

After pulling down the code, set up dependencies:

npm install @ownid/webauthn

Usage

Create passkey/webauthn credentials

import {fido2Create} from "@ownid/webauthn"
.
.
.
const data = await fido2Create(publicKey, username);

Get passkey/webauthn credentials

import {fido2Get} from "@ownid/webauthn"
.
.
.
const data = await fido2Get(publicKey, username);
1.0.0

2 years ago