百科.dev
全部条目AI 编程趋势榜开源项目技术资讯提交条目
登录
< 返回工具列表
S

SimpleWebAuthn

> 安全
开源

WebAuthn 简化版。一系列 TypeScript-first 库,用于更简单地集成 WebAuthn。支持现代浏览器、Node、Deno 等。

2.3K stars0 点赞0 次浏览
访问官网GitHub

工具介绍

WebAuthn 简化版。一系列 TypeScript-first 库,用于更简单地集成 WebAuthn。支持现代浏览器、Node、Deno 等。

# SimpleWebAuthn - [Overview](#overview) - [Installation](#installation) - [Documentation](#documentation) - [Sponsors](#sponsors) - [Example](#example) - [Contributions](#contributions) - [Development](#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](https://github.com/MasterKale/SimpleWebAuthn/tree/master/packages/server) - [@simplewebauthn/browser](https://github.com/MasterKale/SimpleWebAuthn/tree/master/packages/browser) ## Installation SimpleWebAuthn can be installed from **[NPM](https://www.npmjs.com/search?q=%40simplewebauthn)** and **[JSR](https://jsr.io/@simplewebauthn)** 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


Simple Authentication. Make login our problem. Not yours.

### Gold Sponsor


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](https://github.com/MasterKale/SimpleWebAuthn/tree/master/example). 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](https://github.com/MasterKale/SimpleWebAuthn/issues/new/choose) 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](https://github.com/MasterKale/SimpleWebAuthn/issues/new/choose) 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: ```sh deno install ``` To run unit tests for all workspace packages, use the `test` series of scripts: ```sh cd packages/browser/ && deno task test ``` ```sh cd packages/server/ && deno task test ``` Tests can be run in watch mode with the `test:watch` series of scripts: ```sh cd packages/browser/ && deno task test:watch ``` ```sh 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 ```

GitHub Issues· 0 开放

在 GitHub 查看全部

暂无开放 Issues,或尚未同步最近议题。

核心特点

  • •Overview
  • •Installation
  • •Documentation
  • •Sponsors
  • •Contributions
  • •Development
  • •@simplewebauthn/server
  • •@simplewebauthn/browser
  • •Deno v2.4.x
  • •genhtml (run brew install lcov on macOS to install this CLI tool)

> 标签

TypeScriptbrowsercommonjsdenodenoland

暂无评论,来聊聊你的看法吧

> 工具信息

发布日期2026年8月1日
最后更新2026年9月17日
分类安全
定价开源

> 相关工具

O
OWASP ZAP
开源 Web 应用安全扫描器
O
owasp-wstg-tracker
Simple web app to track OWASP WSTG security testing progress
H
homebridge-mi-gateway-security
XiaoMi Gateway Security plugin for HomeBridge.