Gathering detailed insights and metrics for @types/koa-static-cache
Gathering detailed insights and metrics for @types/koa-static-cache
Gathering detailed insights and metrics for @types/koa-static-cache
Gathering detailed insights and metrics for @types/koa-static-cache
npm install @types/koa-static-cache
Typescript
Module System
73.1
Supply Chain
76.4
Quality
75.4
Maintenance
100
Vulnerability
100
License
TypeScript (99.9%)
JavaScript (0.09%)
Shell (0.01%)
Total Downloads
673,136
Last Day
264
Last Week
2,003
Last Month
12,113
Last Year
144,053
48,921 Stars
88,341 Commits
30,220 Forks
641 Watching
5 Branches
9,977 Contributors
Latest Version
5.1.4
Package Id
@types/koa-static-cache@5.1.4
Unpacked Size
4.31 kB
Size
1.78 kB
File Count
5
Publised On
07 Nov 2023
Cumulative downloads
Total Downloads
Last day
-50.1%
264
Compared to previous day
Last week
-37.1%
2,003
Compared to previous week
Last month
-9.2%
12,113
Compared to previous month
Last year
39.3%
144,053
Compared to previous year
1
npm install --save @types/koa-static-cache
This package contains type definitions for koa-static-cache (https://github.com/koajs/static-cache#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-static-cache.
1/** 2 * Static server for koa. 3 */ 4 5import { Middleware } from "koa"; 6 7declare namespace staticCache { 8 interface Files { 9 [path: string]: Options; 10 } 11 12 interface Options { 13 dir?: string | undefined; 14 maxAge?: number | undefined; 15 cacheControl?: string | undefined; 16 buffer?: boolean | undefined; 17 gzip?: boolean | undefined; 18 usePrecompiledGzip?: boolean | undefined; 19 alias?: {} | undefined; 20 prefix?: string | undefined; 21 dynamic?: boolean | undefined; 22 filter?: ((path: string) => boolean) | string[] | undefined; 23 preload?: boolean | undefined; 24 files?: Files | undefined; 25 } 26} 27 28declare function staticCache( 29 dir: string | staticCache.Options, 30 options?: staticCache.Options | staticCache.Files, 31 files?: staticCache.Files, 32): Middleware; 33 34export = staticCache; 35
These definitions were written by JounQin.
No vulnerabilities found.
Reason
30 commit(s) and 5 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 2024-12-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 More