Gathering detailed insights and metrics for @types/promisify-supertest
Gathering detailed insights and metrics for @types/promisify-supertest
Gathering detailed insights and metrics for @types/promisify-supertest
Gathering detailed insights and metrics for @types/promisify-supertest
The repository for high quality TypeScript type definitions.
npm install @types/promisify-supertest
Typescript
Module System
63.8
Supply Chain
75.6
Quality
75.4
Maintenance
100
Vulnerability
100
License
TypeScript (99.84%)
JavaScript (0.16%)
Shell (0.01%)
Total Downloads
20,816
Last Day
2
Last Week
9
Last Month
120
Last Year
1,503
NOASSERTION License
49,824 Stars
89,469 Commits
30,393 Forks
640 Watchers
6 Branches
9,958 Contributors
Updated on May 30, 2025
Latest Version
1.0.38
Package Id
@types/promisify-supertest@1.0.38
Unpacked Size
5.19 kB
Size
1.87 kB
File Count
5
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
Last Day
0%
2
Compared to previous day
Last Week
80%
9
Compared to previous week
Last Month
-8.4%
120
Compared to previous month
Last Year
-58.2%
1,503
Compared to previous year
2
npm install --save @types/promisify-supertest
This package contains type definitions for promisify-supertest (https://www.npmjs.com/package/promisify-supertest).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/promisify-supertest.
1// Mostly copy-pasted from supertest.d.ts 2 3import * as express from "express"; 4import * as superagent from "superagent"; 5 6type CallbackHandler = (err: any, res: supertest.Response) => void; 7 8declare function supertest(app: express.Express): supertest.SuperTest; 9 10declare namespace supertest { 11 function agent(app?: any): supertest.SuperTest; 12 13 interface SuperTest extends superagent.SuperAgent<Test> { 14 } 15 16 interface Test extends superagent.SuperAgentRequest { 17 url: string; 18 serverAddress(app: any, path: string): string; 19 expect(status: number, callback?: CallbackHandler): this; 20 expect(status: number, body: string, callback?: CallbackHandler): this; 21 expect(body: string, callback?: CallbackHandler): this; 22 expect(body: RegExp, callback?: CallbackHandler): this; 23 expect(body: Object, callback?: CallbackHandler): this; 24 expect(field: string, val: string, callback?: CallbackHandler): this; 25 expect(field: string, val: RegExp, callback?: CallbackHandler): this; 26 expect(checker: (res: Response) => any): this; 27 end(callback?: CallbackHandler): this & Promise<Response>; 28 } 29 30 interface Response extends superagent.Response { 31 } 32} 33 34export = supertest; 35
These definitions were written by Leo Liang.
No vulnerabilities found.
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
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-05-26
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