Installations
npm install @simplewebauthn/iso-webcrypto
Developer Guide
Typescript
Yes
Module System
CommonJS, ESM
Node Version
18.16.1
NPM Version
lerna/6.0.3/node@v18.16.1+arm64 (darwin)
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
504,243
Last Day
170
Last Week
1,685
Last Month
12,762
Last Year
262,276
GitHub Statistics
1,680 Stars
2,400 Commits
140 Forks
25 Watching
2 Branches
21 Contributors
Package Meta Information
Latest Version
7.4.0
Package Id
@simplewebauthn/iso-webcrypto@7.4.0
Unpacked Size
4.86 kB
Size
2.53 kB
File Count
9
NPM Version
lerna/6.0.3/node@v18.16.1+arm64 (darwin)
Node Version
18.16.1
Publised On
27 Jul 2023
Total Downloads
Cumulative downloads
Total Downloads
504,243
Last day
-70.1%
170
Compared to previous day
Last week
-50.3%
1,685
Compared to previous week
Last month
-21.5%
12,762
Compared to previous month
Last year
8.4%
262,276
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Dependencies
2
@simplewebauthn/iso-webcrypto
A small library for accessing a runtime's WebCrypto API. Supports browsers, and Node projects using ESM and/or CommonJS.
This library is not officially supported for use outside of SimpleWebAuthn!
Install
1npm install --save @simplewebauthn/iso-webcrypto
Usage
1import WebCrypto from '@simplewebauthn/iso-webcrypto'; 2 3WebCrypto.randomUUID (); // => '43e16416-7a2a-4c00-b2e8-1ea7a57adfb9'
Acknowledgements
Thank you to Fabio Spampinato and their tiny-webcrypto project that all but solves the issue of isomorphic WebCrypto use across browsers and Node. I forked that project and made this one to add in support for Node libraries written in TypeScript that transpile to CommonJS modules.
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