summaryrefslogtreecommitdiffhomepage
path: root/packages/types/README.md
blob: ea728c4d96ef04eb2b01426cc6bae831a5b62efa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# @simplewebauthn/types <!-- omit in toc -->

![WebAuthn](https://img.shields.io/badge/WebAuthn-Simplified-blueviolet?style=for-the-badge&logo=WebAuthn)
[![npm (scoped)](https://img.shields.io/npm/v/@simplewebauthn/types?style=for-the-badge&logo=npm)](https://www.npmjs.com/package/@simplewebauthn/types)

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

- [Installation](#installation)
  - [Node LTS 20.x or higher](#node-lts-20x-or-higher)
  - [Deno v1.33.x or higher](#deno-v133x-or-higher)

## Installation

### Node LTS 20.x or higher

This package is available on **npm**:

```sh
npm install @simplewebauthn/types
```

### Deno v1.33.x or higher

It is also available for import into Deno projects from **deno.land/x**:

```ts
import {...} from 'https://deno.land/x/simplewebauthn/deno/types.ts';
```