@simplewebauthn/types

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
v12.0.0 - The one that claims a JSR scope
All SimpleWebAuthn packages are now available for installation from the
JavaScript Registry (JSR)! JSR is an "open-source package registry
for modern JavaScript and TypeScript" - you can read more about this new package registry and its
ESM-centric capabilities here.
All packages in v12.0.0 are functionally identical to v11.0.0! And JSR package hosting is in
addition to existing package hosting on NPM. Nothing changes about package installation via
npm install
. Read on for more information.
Packages
- @simplewebauthn/browser@12.0.0
- @simplewebauthn/server@12.0.0
- @simplewebauthn/types@12.0.0
Changes
- [browser] [server] [types] All packages can now be installed from JSR wherever JSR
imports are supported (#634)
- [browser] Deno projects using frameworks like Fresh can now import and use
@simplewebauthn/browser (#634)
To install from JSR, use npx jsr add @simplewebauthn/...
or deno add jsr:@simplewebauthn/...
depending on which package manager is available.
Projects using npm
for package management:
npx jsr add @simplewebauthn/browser
npx jsr add @simplewebauthn/server
npx jsr add @simplewebauthn/types
Projects using deno
for package management:
deno add jsr:@simplewebauthn/browser
deno add jsr:@simplewebauthn/server
deno add jsr:@simplewebauthn/types