Gathering detailed insights and metrics for @types/backo2
Gathering detailed insights and metrics for @types/backo2
Gathering detailed insights and metrics for @types/backo2
Gathering detailed insights and metrics for @types/backo2
The repository for high quality TypeScript type definitions.
npm install @types/backo2
Typescript
Module System
91.3
Supply Chain
88.8
Quality
75.4
Maintenance
100
Vulnerability
100
License
TypeScript (99.84%)
JavaScript (0.15%)
Shell (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
NOASSERTION License
50,033 Stars
89,738 Commits
30,435 Forks
640 Watchers
6 Branches
9,957 Contributors
Updated on Jul 14, 2025
Latest Version
1.0.4
Package Id
@types/backo2@1.0.4
Unpacked Size
4.59 kB
Size
1.76 kB
File Count
5
Published on
Nov 06, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
npm install --save @types/backo2
This package contains type definitions for backo2 (https://github.com/mokesmokes/backo).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/backo2.
1type BackoffOptions = Partial<{ 2 min: number; 3 max: number; 4 jitter: number; 5 factor: number; 6}>; 7 8declare class Backoff { 9 constructor(opts?: BackoffOptions); 10 11 /** 12 * The number of previous attempts 13 */ 14 attempts: number; 15 /** 16 * A lower bound on the duration between attempts 17 */ 18 ms: number; 19 /** 20 * An upper bound on the duration between attempts 21 */ 22 max: number; 23 /** 24 * An upper bound on the variance around the duration between attempts 25 */ 26 jitter: number; 27 /** 28 * The base to which the attempt is raised as an exponent 29 */ 30 factor: number; 31 /** 32 * Compute the backoff duration and increment the number of attempts 33 */ 34 duration(): number; 35 /** 36 * Reset the number of attempts 37 */ 38 reset(): void; 39 /** 40 * Set the minimum duration between attempts 41 */ 42 setMin(min: number): void; 43 /** 44 * Set the maximum duration between attempts 45 */ 46 setMax(max: number): void; 47 /** 48 * Set the jitter 49 */ 50 setJitter(jitter: number): void; 51} 52 53export = Backoff; 54
These definitions were written by Retsam.
No vulnerabilities found.
Reason
30 commit(s) and 1 issue activity found in the last 90 days -- score normalized to 10
Reason
security policy file detected
Details
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
Found 27/30 approved changesets -- score normalized to 9
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-07-07
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