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
The repository for high quality TypeScript type definitions.
npm install @types/koa-static-cache
Typescript
Module System
72
Supply Chain
76.4
Quality
75.4
Maintenance
100
Vulnerability
100
License
TypeScript (99.84%)
JavaScript (0.16%)
Shell (0.01%)
Total Downloads
733,904
Last Day
474
Last Week
1,695
Last Month
11,847
Last Year
156,135
NOASSERTION License
49,706 Stars
89,362 Commits
30,386 Forks
640 Watchers
6 Branches
9,955 Contributors
Updated on May 10, 2025
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
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
Last Day
-20.2%
474
Compared to previous day
Last Week
-29.9%
1,695
Compared to previous week
Last Month
-23%
11,847
Compared to previous month
Last Year
41.6%
156,135
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
all changesets reviewed
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
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-05
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