Gathering detailed insights and metrics for @types/connect-history-api-fallback
Gathering detailed insights and metrics for @types/connect-history-api-fallback
Gathering detailed insights and metrics for @types/connect-history-api-fallback
Gathering detailed insights and metrics for @types/connect-history-api-fallback
The repository for high quality TypeScript type definitions.
npm install @types/connect-history-api-fallback
Typescript
Module System
99.6
Supply Chain
76
Quality
75.7
Maintenance
100
Vulnerability
100
License
TypeScript (99.84%)
JavaScript (0.16%)
Shell (0.01%)
Total Downloads
1,361,894,028
Last Day
1,662,596
Last Week
10,230,750
Last Month
43,282,446
Last Year
490,029,838
NOASSERTION License
49,704 Stars
89,362 Commits
30,386 Forks
640 Watchers
6 Branches
9,955 Contributors
Updated on May 10, 2025
Latest Version
1.5.4
Package Id
@types/connect-history-api-fallback@1.5.4
Unpacked Size
4.74 kB
Size
1.88 kB
File Count
5
Published on
Nov 20, 2023
Cumulative downloads
Total Downloads
Last Day
15.4%
1,662,596
Compared to previous day
Last Week
10.1%
10,230,750
Compared to previous week
Last Month
-9.2%
43,282,446
Compared to previous month
Last Year
13.5%
490,029,838
Compared to previous year
2
npm install --save @types/connect-history-api-fallback
This package contains type definitions for connect-history-api-fallback (https://github.com/bripkens/connect-history-api-fallback#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/connect-history-api-fallback.
1/// <reference types="node" /> 2 3import { Url } from "url"; 4 5import * as core from "express-serve-static-core"; 6 7export = historyApiFallback; 8 9declare function historyApiFallback(options?: historyApiFallback.Options): core.RequestHandler; 10 11declare namespace historyApiFallback { 12 interface Options { 13 readonly disableDotRule?: true | undefined; 14 readonly htmlAcceptHeaders?: readonly string[] | undefined; 15 readonly index?: string | undefined; 16 readonly logger?: typeof console.log | undefined; 17 readonly rewrites?: readonly Rewrite[] | undefined; 18 readonly verbose?: boolean | undefined; 19 } 20 21 interface Context { 22 readonly match: RegExpMatchArray; 23 readonly parsedUrl: Url; 24 readonly request: core.Request; 25 } 26 type RewriteTo = (context: Context) => string; 27 28 interface Rewrite { 29 readonly from: RegExp; 30 readonly to: string | RegExp | RewriteTo; 31 } 32} 33
These definitions were written by Douglas Duteil.
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