@simplewebauthn/types
This support package is only useful in projects written in TypeScript! It contains various type declarations that help developers prepare and handle values when working with methods available in the Browser and Server packages.
Current version
The documentation below should be accurate for @simplewebauthn/types@^11.0.0. Please open an issue here to report any inaccuracies.
Installation
Node LTS 20.x or higher
This package is available on npm:
npm install --save-dev @simplewebauthn/types
Deno v1.33.x or higher
This package is also available for installation in Deno projects from deno.land/x:
import type {...} from 'https://deno.land/x/simplewebauthn/deno/types.ts';