Gathering detailed insights and metrics for @types/koa-static
Gathering detailed insights and metrics for @types/koa-static
Gathering detailed insights and metrics for @types/koa-static
Gathering detailed insights and metrics for @types/koa-static
The repository for high quality TypeScript type definitions.
npm install @types/koa-static
Typescript
Module System
TypeScript (99.84%)
JavaScript (0.15%)
Shell (0.01%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
NOASSERTION License
50,054 Stars
89,753 Commits
30,432 Forks
640 Watchers
6 Branches
9,957 Contributors
Updated on Jul 17, 2025
Latest Version
4.0.4
Package Id
@types/koa-static@4.0.4
Unpacked Size
4.04 kB
Size
1.83 kB
File Count
5
Published on
Nov 07, 2023
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
2
npm install --save @types/koa-static
This package contains type definitions for koa-static (https://github.com/koajs/static).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/koa-static.
1/* =================== USAGE =================== 2 3 import serve = require("koa-static"); 4 var Koa = require('koa'); 5 6 var app = new Koa(); 7 app.use(serve(".")); 8 9 =============================================== */ 10 11import { Middleware } from "koa"; 12 13import { SendOptions } from "koa-send"; 14 15declare function serve(root: string, opts?: serve.Options): Middleware<{}>; 16 17declare namespace serve { 18 interface Options extends SendOptions { 19 /** If true, serves after return next(), allowing any downstream middleware to respond first. */ 20 defer?: boolean | undefined; 21 } 22} 23 24export = serve; 25
These definitions were written by Jerry Chin, and Tomek Łaziuk.
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-07-14
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