summaryrefslogtreecommitdiffhomepage
path: root/packages/typescript-types/README.md
blob: 2220d021c4651858a05828532a3c22019736ab42 (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/typescript-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/typescript-types?style=for-the-badge&logo=npm)](https://www.npmjs.com/package/@simplewebauthn/typescript-types)

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

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

## Installation

### Node LTS 16.x or higher

This package is available on **npm**:

```sh
npm install @simplewebauthn/typescript-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/typescript-types.ts';
```