Gathering detailed insights and metrics for @types/q-retry
Gathering detailed insights and metrics for @types/q-retry
Gathering detailed insights and metrics for @types/q-retry
Gathering detailed insights and metrics for @types/q-retry
The repository for high quality TypeScript type definitions.
npm install @types/q-retry
Typescript
Module System
67.1
Supply Chain
89.8
Quality
75.9
Maintenance
100
Vulnerability
100
License
TypeScript (99.84%)
JavaScript (0.15%)
Shell (0.01%)
Total Downloads
38,445
Last Day
1
Last Week
37
Last Month
164
Last Year
1,502
NOASSERTION License
49,950 Stars
89,614 Commits
30,420 Forks
641 Watchers
7 Branches
9,958 Contributors
Updated on Jun 25, 2025
Latest Version
0.0.35
Package Id
@types/q-retry@0.0.35
Unpacked Size
6.97 kB
Size
1.82 kB
File Count
5
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
1
npm install --save @types/q-retry
This package contains type definitions for q-retry (https://github.com/vilic/q-retry).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/q-retry.
1import * as Q from "q"; 2 3export = Q; 4 5declare module "q" { 6 export interface IRetryOptions { 7 limit?: number | undefined; 8 interval?: number | undefined; 9 maxInterval?: number | undefined; 10 intervalMultiplier?: number | undefined; 11 } 12 13 export function retry<U>( 14 process: () => IPromise<U>, 15 onFail: (reason: any, retries: number) => void, 16 limit: number, 17 ): Promise<U>; 18 export function retry<U>( 19 process: () => IPromise<U>, 20 onFail: (reason: any, retries: number) => void, 21 options?: IRetryOptions, 22 ): Promise<U>; 23 export function retry<U>(process: () => IPromise<U>, limit: number): Promise<U>; 24 export function retry<U>(process: () => IPromise<U>, options?: IRetryOptions): Promise<U>; 25 export function retry<U>( 26 process: () => U, 27 onFail: (reason: any, retries: number) => void, 28 limit: number, 29 ): Promise<U>; 30 export function retry<U>( 31 process: () => U, 32 onFail: (reason: any, retries: number) => void, 33 options?: IRetryOptions, 34 ): Promise<U>; 35 export function retry<U>(process: () => U, limit: number): Promise<U>; 36 export function retry<U>(process: () => U, options?: IRetryOptions): Promise<U>; 37 38 interface Promise<T> { 39 retry<U>( 40 process: (value: T) => IPromise<U>, 41 onFail: (reason: any, retries: number) => void, 42 limit: number, 43 ): Promise<U>; 44 retry<U>( 45 process: (value: T) => IPromise<U>, 46 onFail: (reason: any, retries: number) => void, 47 options?: IRetryOptions, 48 ): Promise<U>; 49 retry<U>(process: (value: T) => IPromise<U>, limit: number): Promise<U>; 50 retry<U>(process: (value: T) => IPromise<U>, options?: IRetryOptions): Promise<U>; 51 retry<U>(process: (value: T) => U, onFail: (reason: any, retries: number) => void, limit: number): Promise<U>; 52 retry<U>( 53 process: (value: T) => U, 54 onFail: (reason: any, retries: number) => void, 55 options?: IRetryOptions, 56 ): Promise<U>; 57 retry<U>(process: (value: T) => U, limit: number): Promise<U>; 58 retry<U>(process: (value: T) => U, options?: IRetryOptions): Promise<U>; 59 } 60} 61
These definitions were written by VILIC VANE.
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-06-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 MoreLast Day
0%
1
Compared to previous day
Last Week
-17.8%
37
Compared to previous week
Last Month
-16.3%
164
Compared to previous month
Last Year
-84%
1,502
Compared to previous year