Gathering detailed insights and metrics for @types/co-body
Gathering detailed insights and metrics for @types/co-body
Gathering detailed insights and metrics for @types/co-body
Gathering detailed insights and metrics for @types/co-body
The repository for high quality TypeScript type definitions.
npm install @types/co-body
Typescript
Module System
99.7
Supply Chain
82.8
Quality
75.6
Maintenance
100
Vulnerability
100
License
TypeScript (99.84%)
JavaScript (0.15%)
Shell (0.01%)
Total Downloads
22,350,141
Last Day
21,801
Last Week
319,097
Last Month
1,320,090
Last Year
10,424,358
NOASSERTION License
49,996 Stars
89,698 Commits
30,434 Forks
641 Watchers
6 Branches
9,957 Contributors
Updated on Jul 04, 2025
Latest Version
6.1.3
Package Id
@types/co-body@6.1.3
Unpacked Size
4.80 kB
Size
1.84 kB
File Count
5
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
Last Day
4.2%
21,801
Compared to previous day
Last Week
-2.7%
319,097
Compared to previous week
Last Month
14.5%
1,320,090
Compared to previous month
Last Year
84.8%
10,424,358
Compared to previous year
2
npm install --save @types/co-body
This package contains type definitions for co-body (https://github.com/cojs/co-body).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/co-body.
1/// <reference types="node"/> 2 3import * as http from "http"; 4import * as qs from "qs"; 5 6declare namespace CoBody { 7 type Context = http.IncomingMessage | { req: http.IncomingMessage }; 8 9 interface Parse { 10 /** 11 * @async 12 */ 13 (context: Context, options?: Options): Promise<any>; 14 /** 15 * @async 16 */ 17 text: (context: Context, options?: Options) => Promise<any>; 18 /** 19 * @async 20 */ 21 form: (context: Context, options?: Options) => Promise<any>; 22 /** 23 * @async 24 */ 25 json: (context: Context, options?: Options) => Promise<any>; 26 } 27 28 interface Options { 29 limit?: number | string | undefined; 30 strict?: boolean | undefined; 31 queryString?: qs.IParseOptions | undefined; 32 jsonTypes?: string[] | undefined; 33 returnRawBody?: boolean | undefined; 34 formTypes?: string[] | undefined; 35 textTypes?: string[] | undefined; 36 encoding?: string | undefined; 37 length?: number | undefined; 38 } 39} 40 41declare var CoBody: CoBody.Parse; 42export = CoBody; 43
These definitions were written by Joshua DeVinney.
No vulnerabilities found.
Reason
30 commit(s) and 1 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
Found 25/29 approved changesets -- score normalized to 8
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-30
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