Gathering detailed insights and metrics for @types/android-versions
Gathering detailed insights and metrics for @types/android-versions
Gathering detailed insights and metrics for @types/android-versions
Gathering detailed insights and metrics for @types/android-versions
The repository for high quality TypeScript type definitions.
npm install @types/android-versions
Typescript
Module System
73.7
Supply Chain
100
Quality
75.4
Maintenance
100
Vulnerability
100
License
TypeScript (99.9%)
JavaScript (0.09%)
Shell (0.01%)
Total Downloads
242,974
Last Day
206
Last Week
1,855
Last Month
7,478
Last Year
67,745
NOASSERTION License
49,670 Stars
89,248 Commits
30,383 Forks
642 Watchers
5 Branches
9,956 Contributors
Updated on May 02, 2025
Latest Version
1.8.3
Package Id
@types/android-versions@1.8.3
Unpacked Size
7.31 kB
Size
2.29 kB
File Count
5
Published on
Nov 06, 2023
Cumulative downloads
Total Downloads
Last Day
-34.4%
206
Compared to previous day
Last Week
10%
1,855
Compared to previous week
Last Month
-12.1%
7,478
Compared to previous month
Last Year
-6.1%
67,745
Compared to previous year
npm install --save @types/android-versions
This package contains type definitions for android-versions (https://github.com/dvoiss/android-versions#readme).
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/android-versions.
1/** 2 * A module to get Android versions by API level, NDK level, semantic version, or version name. 3 * 4 * Versions are referenced from here: 5 * {@link https://source.android.com/source/build-numbers.html#platform-code-names-versions-api-levels-and-ndk-releases} 6 * {@link https://github.com/android/platform_frameworks_base/blob/master/core/java/android/os/Build.java} 7 * 8 * The version for "Current Development Build" ("CUR_DEVELOPMENT") is not included. 9 */ 10 11declare namespace android { 12 interface AndroidVersion { 13 api: number; 14 ndk: number; 15 semver: string; 16 name: string; 17 versionCode: string; 18 } 19 type VersionCode = 20 | "BASE" 21 | "BASE_1_1" 22 | "CUPCAKE" 23 | "DONUT" 24 | "ECLAIR" 25 | "ECLAIR_0_1" 26 | "ECLAIR_MR1" 27 | "FROYO" 28 | "GINGERBREAD" 29 | "GINGERBREAD_MR1" 30 | "HONEYCOMB" 31 | "HONEYCOMB_MR1" 32 | "HONEYCOMB_MR2" 33 | "ICE_CREAM_SANDWICH" 34 | "ICE_CREAM_SANDWICH_MR1" 35 | "JELLY_BEAN" 36 | "JELLY_BEAN_MR1" 37 | "JELLY_BEAN_MR2" 38 | "KITKAT" 39 | "KITKAT_WATCH" 40 | "LOLLIPOP" 41 | "LOLLIPOP_MR1" 42 | "M" 43 | "N" 44 | "N_MR1" 45 | "O" 46 | "O_MR1" 47 | "P" 48 | "Q" 49 | "R" 50 | "S" 51 | "S_V2" 52 | "TIRAMISU"; 53 54 type MapVersionSupport = { 55 [K in VersionCode]: AndroidVersion; 56 }; 57} 58 59declare const android: { 60 VERSIONS: Record<android.VersionCode, android.AndroidVersion>; 61 /** 62 * Retrieve a single Android version. 63 * @param arg - The value or predicate to use to retrieve values. 64 * @return An object representing the version found or null if none found. 65 */ 66 get: ( 67 arg: 68 | { 69 toString(): string; 70 } 71 | ((version: android.AndroidVersion) => boolean), 72 ) => android.AndroidVersion | null; 73 /** 74 * Retrieve all Android versions that meet the criteria of the argument. 75 * @param arg - The value or predicate to use to retrieve values. 76 * @return An object representing the version found or null if none found. 77 */ 78 getAll: ( 79 arg: 80 | { 81 toString(): string; 82 } 83 | ((version: android.AndroidVersion) => boolean), 84 ) => android.AndroidVersion[] | null; 85} & android.MapVersionSupport; 86 87export = android; 88
These definitions were written by Piotr Błażejewicz.
No vulnerabilities found.
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
Found 29/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-04-28
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