Gathering detailed insights and metrics for @types/caniuse-api
Gathering detailed insights and metrics for @types/caniuse-api
Gathering detailed insights and metrics for @types/caniuse-api
Gathering detailed insights and metrics for @types/caniuse-api
The repository for high quality TypeScript type definitions.
npm install @types/caniuse-api
Typescript
Module System
TypeScript (99.84%)
JavaScript (0.16%)
Shell (0.01%)
Total Downloads
19,261,145
Last Day
2,530
Last Week
14,500
Last Month
65,052
Last Year
701,387
NOASSERTION License
49,702 Stars
89,359 Commits
30,387 Forks
640 Watchers
6 Branches
9,955 Contributors
Updated on May 09, 2025
Latest Version
3.0.6
Package Id
@types/caniuse-api@3.0.6
Unpacked Size
4.02 kB
Size
1.71 kB
File Count
5
Published on
Nov 20, 2023
Cumulative downloads
Total Downloads
Last Day
52%
2,530
Compared to previous day
Last Week
-2.8%
14,500
Compared to previous week
Last Month
-0.2%
65,052
Compared to previous month
Last Year
-49.3%
701,387
Compared to previous year
npm install --save @types/caniuse-api
This package contains type definitions for caniuse-api (https://github.com/nyalab/caniuse-api#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/caniuse-api.
1export const features: string[]; 2 3export interface BrowserSupport { 4 [browser: string]: { 5 y?: number | undefined; 6 n?: number | undefined; 7 a?: number | undefined; 8 x?: number | undefined; 9 p?: number | undefined; 10 }; 11} 12 13export function getSupport(feature: string): BrowserSupport; 14 15export function isSupported( 16 feature: string, 17 browsers: string | readonly string[], 18): boolean; 19 20export function find(query: string): string[]; 21 22export function getLatestStableBrowsers(): string[]; 23 24export function setBrowserScope( 25 browserscope: string | readonly string[], 26): void; 27 28export function getBrowserScope(): string[]; 29
These definitions were written by Dave Cardwell, and Matt Miller.
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