GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - MasterKale/SimpleWebAuthn: WebAuthn, Simplified. A collection of TypeScript-first libraries for simpler WebAuthn integration. Supports modern browsers, Node, Deno, and more.

BranchesTags
Open more actions menu

Latest commit

 

History

2,590 Commits
2,590 Commits

Folders and files

NameName
Last commit message
Last commit date
.github
.github
 
 
.vscode
.vscode
 
 
deno
deno
 
 
example
example
 
 
packages
packages
 
 
.editorconfig
.editorconfig
 
 
.git-blame-ignore-revs
.git-blame-ignore-revs
 
 
.gitignore
.gitignore
 
 
CHANGELOG.md
CHANGELOG.md
 
 
HANDBOOK.md
HANDBOOK.md
 
 
LICENSE.md
LICENSE.md
 
 
README.md
README.md
 
 
deno.json
deno.json
 
 
deno.lock
deno.lock
 
 
mise.lock
mise.lock
 
 
mise.toml
mise.toml
 
 
whatGotUpdated.ts
whatGotUpdated.ts
 
 

Repository files navigation

SimpleWebAuthn

WebAuthn npm (scoped) JSR Scope

  • Overview
  • Installation
  • Documentation
  • Sponsors
  • Example
  • Contributions
  • Development

Overview

This project features two complimentary libraries to help reduce the amount of work needed to incorporate WebAuthn into a website. The following packages are maintained here:

  • @simplewebauthn/server
  • @simplewebauthn/browser

Installation

SimpleWebAuthn can be installed from NPM and JSR in Node LTS 22.x and higher, Deno v2.4.x and higher projects, and other compatible runtimes (Cloudflare Workers, Bun, etc...)

See the packages' READMEs for more specific installation information.

Supported Versions Strategy

SimpleWebAuthn actively supports the following runtimes, targeting versions using the guidelines below:

Node: LTS releases in Active and Maintenance mode, as per https://nodejs.org/en/about/previous-releases.

Deno: SemVer minor releases (e.g. 2.4.x) for up to one year after their release, as per https://github.com/denoland/deno/releases.

Documentation

In-depth documentation for this project is available at https://simplewebauthn.dev/docs

Sponsors

Thank you very much to those who sponsor my work. Your contributions help keep the open-source dream alive 🙇‍♂️

Interested in sponsoring this project? See here for more info: https://github.com/sponsors/MasterKale

🌟 Platinum Sponsor

Auth0 by Okta
Simple Authentication. Make login our problem. Not yours.

🏅 Gold Sponsor

Authsignal
Simple, drop-in passkeys and MFA as a Service

Example

For a practical guide to implementing these libraries, take a look at the example project. It includes a single-file Express server and a few HTML files that, combined with the packages in this repo, are close to all it takes to get up and running with WebAuthn.

Contributions

The SimpleWebAuthn project is not currently open to external contributions.

Please submit an Issue and fill out the provided template with as much information as possible if you have found a bug in need of fixing.

You can also submit an Issue to request new features, or to suggest changes to existing features.

Development

Install the following before proceeding:

  • Deno v2.4.x

After pulling down the code, set up dependencies:

deno install

To run unit tests for all workspace packages, use the test series of scripts:

cd packages/browser/ && deno task test
cd packages/server/ && deno task test

Tests can be run in watch mode with the test:watch series of scripts:

cd packages/browser/ && deno task test:watch
cd packages/server/ && deno task test:watch

Test Coverage

The following additional dependencies are needed locally to display test coverage reports:

  • genhtml (run brew install lcov on macOS to install this CLI tool)

Then run the following command to run tests and then host a coverage report at http://127.0.0.1:8000:

deno run test:coverage

About

WebAuthn, Simplified. A collection of TypeScript-first libraries for simpler WebAuthn integration. Supports modern browsers, Node, Deno, and more.

simplewebauthn.dev

Topics

browsercommonjsdenodenolandesmfidonodepasskeystypescriptumdwebauthn

Resources

Readme
MIT license
Activity

Stars

2.4k stars

Watchers

25 watching

Forks

204 forks
Report repository

Releases

Sponsor this project

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.