Gathering detailed insights and metrics for @types/sha.js
Gathering detailed insights and metrics for @types/sha.js
Gathering detailed insights and metrics for @types/sha.js
Gathering detailed insights and metrics for @types/sha.js
The repository for high quality TypeScript type definitions.
npm install @types/sha.js
Typescript
Module System
99.8
Supply Chain
69.8
Quality
75.4
Maintenance
100
Vulnerability
100
License
TypeScript (99.84%)
JavaScript (0.16%)
Shell (0.01%)
Total Downloads
26,984,098
Last Day
17,084
Last Week
92,768
Last Month
441,902
Last Year
4,871,275
NOASSERTION License
49,702 Stars
89,361 Commits
30,386 Forks
640 Watchers
6 Branches
9,955 Contributors
Updated on May 09, 2025
Latest Version
2.4.4
Package Id
@types/sha.js@2.4.4
Unpacked Size
3.52 kB
Size
1.67 kB
File Count
5
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
Last Day
55.1%
17,084
Compared to previous day
Last Week
-4.8%
92,768
Compared to previous week
Last Month
-5.3%
441,902
Compared to previous month
Last Year
25.7%
4,871,275
Compared to previous year
1
npm install --save @types/sha.js
This package contains type definitions for sha.js (https://github.com/crypto-browserify/sha.js).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/sha.js.
1/// <reference types="node" /> 2 3import { Hash } from "crypto"; 4 5export = SHA; 6 7declare function SHA(algorithm: SHA.Algorithm | Uppercase<SHA.Algorithm>): Hash; 8 9declare namespace SHA { 10 type Algorithm = "sha" | "sha1" | "sha224" | "sha256" | "sha384" | "sha512"; 11 interface HashStatic { 12 new(): Hash; 13 } 14 15 const sha: HashStatic; 16 const sha1: HashStatic; 17 const sha224: HashStatic; 18 const sha256: HashStatic; 19 const sha384: HashStatic; 20 const sha512: HashStatic; 21} 22
These definitions were written by BendingBender.
No vulnerabilities found.
Reason
all changesets reviewed
Reason
30 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 10
Reason
no dangerous workflow patterns detected
Reason
security policy file detected
Details
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Score
Last Scanned on 2025-05-05
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