Installations
npm install @simplewebauthn/browser
Developer Guide
Typescript
Yes
Module System
CommonJS, ESM
Node Version
22.11.0
NPM Version
10.9.0
Releases
v13.0.0 - The one where they share a type
Published on 09 Dec 2024
v12.0.0 - The one that claims a JSR scope
Published on 25 Nov 2024
v11.0.0 - The one that auto-registers
Published on 13 Oct 2024
v10.0.1
Published on 23 Jul 2024
v10.0.0 - The one that goes up to 20
Published on 12 Apr 2024
v9.0.3
Published on 16 Feb 2024
Contributors
Languages
TypeScript (99.62%)
HTML (0.33%)
CSS (0.05%)
Developer
Download Statistics
Total Downloads
6,571,968
Last Day
7,190
Last Week
109,163
Last Month
627,295
Last Year
5,315,403
GitHub Statistics
1,680 Stars
2,400 Commits
140 Forks
25 Watching
2 Branches
21 Contributors
Package Meta Information
Latest Version
13.0.0
Package Id
@simplewebauthn/browser@13.0.0
Unpacked Size
188.16 kB
Size
30.08 kB
File Count
109
NPM Version
10.9.0
Node Version
22.11.0
Publised On
09 Dec 2024
Total Downloads
Cumulative downloads
Total Downloads
6,571,968
Last day
-75.8%
7,190
Compared to previous day
Last week
-33%
109,163
Compared to previous week
Last month
-2.5%
627,295
Compared to previous month
Last year
395.8%
5,315,403
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dev Dependencies
1
@simplewebauthn/browser
Installation
This package can be installed from NPM and JSR:
Node LTS 20.x and higher
1npm install @simplewebauthn/browser
Deno v1.43 and higher
1deno add jsr:@simplewebauthn/browser
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:
1<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:
1<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
No vulnerabilities found.
Reason
30 commit(s) and 17 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE.md:0
- Info: FSF or OSI recognized license: MIT License: LICENSE.md:0
Reason
0 existing vulnerabilities detected
Reason
Found 0/6 approved changesets -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: no topLevel permission defined: .github/workflows/ciChecks.yml:1
- Info: no jobLevel write permissions found
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ciChecks.yml:22: update your workflow using https://app.stepsecurity.io/secureworkflow/MasterKale/SimpleWebAuthn/ciChecks.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ciChecks.yml:26: update your workflow using https://app.stepsecurity.io/secureworkflow/MasterKale/SimpleWebAuthn/ciChecks.yml/master?enable=pin
- Warn: third-party GitHubAction not pinned by hash: .github/workflows/ciChecks.yml:34: update your workflow using https://app.stepsecurity.io/secureworkflow/MasterKale/SimpleWebAuthn/ciChecks.yml/master?enable=pin
- Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/ciChecks.yml:47: update your workflow using https://app.stepsecurity.io/secureworkflow/MasterKale/SimpleWebAuthn/ciChecks.yml/master?enable=pin
- Info: 0 out of 3 GitHub-owned GitHubAction dependencies pinned
- Info: 0 out of 1 third-party GitHubAction dependencies pinned
Reason
security policy file not detected
Details
- Warn: no security policy file detected
- Warn: no security file to analyze
- Warn: no security file to analyze
- Warn: no security file to analyze
Reason
branch protection not enabled on development/release branches
Details
- Warn: branch protection not enabled for branch 'master'
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 25 are checked with a SAST tool
Score
4.4
/10
Last Scanned on 2024-12-23
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More