# @simplewebauthn/browser

> SimpleWebAuthn for Browsers

Latest version **14.0.0** (published 2026-09-02) · MIT license · 0 weekly downloads

## Install

```sh
npm install @simplewebauthn/browser
pnpm add @simplewebauthn/browser
yarn add @simplewebauthn/browser
bun add @simplewebauthn/browser
```

## Health

**Score 70/100 (B)** — status: active.

Positive: has types; esm support; no vulnerabilities; has provenance; recently updated; high maintenance score.

Warnings: low downloads.

## Facts

| | |
|---|---|
| Version | 14.0.0 |
| Published | 2026-09-02 |
| First published | 2020-05-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | ESM + CommonJS |
| Dependencies | 0 |
| Unpacked size | 288.3 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Provenance | attested (GitHub Actions) |
| GitHub stars | 2341 |
| Author | Matthew Miller |
| Maintainers | iamkale |
| Keywords | typescript, webauthn, passkeys, fido, umd |

## Links

- npm: https://www.npmjs.com/package/@simplewebauthn/browser
- Repository: https://github.com/MasterKale/SimpleWebAuthn
- Homepage: https://github.com/MasterKale/SimpleWebAuthn/tree/master/packages/browser#readme
- Issues: https://github.com/MasterKale/SimpleWebAuthn/issues
- npm.io page: https://npm.io/package/@simplewebauthn/browser

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 14.0.0 (latest) — 2026-09-02
- 13.3.0 — 2026-03-10
- 13.2.2 — 2025-10-04
- 13.2.0 — 2025-09-15
- 13.1.2 — 2025-07-05
- 13.1.0 — 2025-01-13
- 13.0.0 — 2024-12-09
- 13.0.0-alpha1 — 2024-12-08
- 12.0.0 — 2024-11-25
- 11.0.0-alpha3 — 2024-11-23
- 11.0.0 — 2024-10-13
- 10.0.0 — 2024-04-12
- 9.0.1 — 2024-01-26
- 9.0.0 — 2024-01-21
- 8.3.7 — 2024-01-20
- … 53 more at https://npm.io/package/@simplewebauthn/browser/versions

## README

# @simplewebauthn/browser <!-- 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/browser?style=for-the-badge&logo=npm)](https://www.npmjs.com/package/@simplewebauthn/browser)
[![JSR](https://jsr.io/badges/@simplewebauthn/browser?style=for-the-badge)](https://jsr.io/@simplewebauthn/browser)
![Browser Support](https://img.shields.io/badge/Browser-ES2021+-brightgreen?style=for-the-badge&logo=Mozilla+Firefox)
![Browser Support](https://img.shields.io/badge/Browser-ES5-brightgreen?style=for-the-badge&logo=Mozilla+Firefox)

- [Installation](#installation)
  - [Node LTS 22.x and higher](#node-lts-22x-and-higher)
  - [Deno v2.4.x and higher](#deno-v24x-and-higher)
  - [UMD](#umd)
    - [ES2021](#es2021)
    - [ES5](#es5)
- [Documentation](#documentation)

## Installation

This package can be installed from **[NPM](https://www.npmjs.com/package/@simplewebauthn/browser)**
and **[JSR](https://jsr.io/@simplewebauthn/browser)**:

### Node LTS 22.x and higher

```sh
npm install @simplewebauthn/browser
```

> NOTE: This project will aim to support Node LTS releases through their Active and Maintenance windows as tracked on [the Node.js Releases page](https://nodejs.org/en/about/previous-releases).

### Deno v2.4.x and higher

```sh
deno add jsr:@simplewebauthn/browser
```

> NOTE: [Deno no longer has LTS releases to track after April 30, 2026](https://docs.deno.com/runtime/fundamentals/stability_and_releases/#long-term-support-(lts)). This project will aim to support Deno minor releases for up to one year after their release.

### UMD

This package can also be installed via **unpkg** by including the following script in your page's
`<head>` element. The library's methods will be available on the global **`SimpleWebAuthnBrowser`**
object.

> NOTE: The only difference between the two packages below is that the ES5 bundle includes some
> polyfills for older browsers. This adds some bundle size overhead, but _does_ enable use of
> `browserSupportsWebAuthn()` in older browsers to show appropriate UI when WebAuthn is unavailable.

#### ES2021

If you only need to support modern browsers, include the `ES2021` version:

```html
<script src="https://unpkg.com/@simplewebauthn/browser/dist/bundle/index.umd.min.js"></script>
```

#### ES5

If you need to support WebAuthn feature detection in deprecated browsers like IE11 and Edge Legacy,
include the `ES5` version:

```html
<script src="https://unpkg.com/@simplewebauthn/browser/dist/bundle/index.es5.umd.min.js"></script>
```

## Documentation

You can find in-depth documentation on this package here:
https://simplewebauthn.dev/docs/packages/browser

---
_Source: https://npm.io/package/@simplewebauthn/browser · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
