Gathering detailed insights and metrics for @types/express-cache-response-directive
Gathering detailed insights and metrics for @types/express-cache-response-directive
Gathering detailed insights and metrics for @types/express-cache-response-directive
Gathering detailed insights and metrics for @types/express-cache-response-directive
The repository for high quality TypeScript type definitions.
npm install @types/express-cache-response-directive
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,040 Stars
89,741 Commits
30,435 Forks
640 Watchers
6 Branches
9,957 Contributors
Updated on Jul 15, 2025
Latest Version
1.1.3
Package Id
@types/express-cache-response-directive@1.1.3
Unpacked Size
5.46 kB
Size
1.90 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
1
npm install --save @types/express-cache-response-directive
This package contains type definitions for express-cache-response-directive (https://github.com/dantman/express-cache-response-directive).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/express-cache-response-directive.
1import * as express from "express"; 2 3declare global { 4 namespace Express { 5 interface Response { 6 cacheControl: (pattern: Pattern | Options, options?: Options) => void; 7 } 8 } 9} 10 11// https://github.com/dantman/express-cache-response-directive/blob/v1.1.0/index.js#L49-L62 12type Pattern = "public" | "private" | "no-cache" | "no-store"; 13 14// https://github.com/dantman/express-cache-response-directive/blob/v1.1.0/index.js#L10-L21 15// https://github.com/dantman/express-cache-response-directive/blob/v1.1.0/index.js#L36-L46 16interface Options { 17 public?: boolean; 18 private?: boolean | string | string[]; 19 "no-cache"?: boolean | string | string[]; 20 noCache?: boolean | string | string[]; 21 "no-store"?: boolean; 22 noStore?: boolean; 23 "max-age"?: number | string; 24 maxAge?: number | string; 25 "s-maxage"?: number | string; 26 sMaxage?: number | string; 27 sMaxAge?: number | string; 28 "must-revalidate"?: boolean; 29 mustRevalidate?: boolean; 30 "proxy-revalidate"?: boolean; 31 proxyRevalidate?: boolean; 32 "no-transform"?: boolean; 33 noTransform?: boolean; 34 "stale-while-revalidate"?: number | string; 35 staleWhileRevalidate?: number | string; 36 "stale-if-error"?: number | string; 37 staleIfError?: number | string; 38} 39 40export = cacheResponseDirective; 41 42declare function cacheResponseDirective(): express.RequestHandler; 43
These definitions were written by yutak23.
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