Skip to main content

TypeScript types used by the @simplewebauthn series of libraries

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
88%
Published
2 months ago (12.0.0)

@simplewebauthn/types

WebAuthn npm (scoped) JSR

TypeScript typings for @simplewebauthn/server and @simplewebauthn/browser

Installation

This package can be installed from NPM and JSR:

Node LTS 20.x and higher

npm install @simplewebauthn/types

Deno v1.43 and higher

deno add jsr:@simplewebauthn/types

Add Package

deno add jsr:@simplewebauthn/types

Import symbol

import * as types from "@simplewebauthn/types";

---- OR ----

Import directly with a jsr specifier

import * as types from "jsr:@simplewebauthn/types";

Add Package

npx jsr add @simplewebauthn/types

Import symbol

import * as types from "@simplewebauthn/types";

Add Package

yarn dlx jsr add @simplewebauthn/types

Import symbol

import * as types from "@simplewebauthn/types";

Add Package

pnpm dlx jsr add @simplewebauthn/types

Import symbol

import * as types from "@simplewebauthn/types";

Add Package

bunx jsr add @simplewebauthn/types

Import symbol

import * as types from "@simplewebauthn/types";