Installations
npm install @types/cordova-plugin-file-opener2
Developer Guide
Typescript
Yes
Module System
N/A
Score
67.9
Supply Chain
81
Quality
75.3
Maintenance
100
Vulnerability
100
License
Contributors
Languages
TypeScript (99.9%)
JavaScript (0.09%)
Shell (0.01%)
Developer
DefinitelyTyped
Download Statistics
Total Downloads
330,499
Last Day
146
Last Week
687
Last Month
2,866
Last Year
45,020
GitHub Statistics
49,126 Stars
88,654 Commits
30,293 Forks
640 Watching
5 Branches
9,978 Contributors
Package Meta Information
Latest Version
2.0.3
Package Id
@types/cordova-plugin-file-opener2@2.0.3
Unpacked Size
5.17 kB
Size
1.83 kB
File Count
5
Publised On
07 Nov 2023
Total Downloads
Cumulative downloads
Total Downloads
330,499
Last day
-24.4%
146
Compared to previous day
Last week
-16.6%
687
Compared to previous week
Last month
-2.5%
2,866
Compared to previous month
Last year
-31.9%
45,020
Compared to previous year
Daily Downloads
Weekly Downloads
Monthly Downloads
Yearly Downloads
Installation
npm install --save @types/cordova-plugin-file-opener2
Summary
This package contains type definitions for cordova-plugin-file-opener2 (https://github.com/pwlin/cordova-plugin-file-opener2).
Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/cordova-plugin-file-opener2.
index.d.ts
1interface CordovaPluginsFileOpener2Result { 2 status: number; 3 message: string; 4} 5interface CordovaPluginsFileOpener2CallbackContext { 6 success?(): void; 7 error?(error: CordovaPluginsFileOpener2Result): void; 8} 9interface CordovaPluginsFileOpener2 { 10 /** 11 * Open a file with the default file opener and optional callback object: 12 */ 13 open(fileName: string, contentType: string, callbackContext?: CordovaPluginsFileOpener2CallbackContext): void; 14 15 /** 16 * Open a system modal to open document with one of the already installed app and optional callback object 17 */ 18 showOpenWithDialog( 19 fileName: string, 20 contentType: string, 21 callbackContext?: CordovaPluginsFileOpener2CallbackContext, 22 ): void; 23 24 /** 25 * Uninstall a package with its id. Android platform only. 26 */ 27 uninstall(packageId: string, callbackContext?: CordovaPluginsFileOpener2CallbackContext): void; 28 29 /** 30 * Check if an app is already installed. Android platform only. 31 */ 32 appIsInstalled(packageId: string, callbackContext?: { 33 success?(result: CordovaPluginsFileOpener2Result): void; 34 error?(error: CordovaPluginsFileOpener2Result): void; 35 }): void; 36} 37 38interface CordovaPlugins { 39 fileOpener2: CordovaPluginsFileOpener2; 40} 41
Additional Details
- Last updated: Mon, 06 Nov 2023 22:41:05 GMT
- Dependencies: none
Credits
These definitions were written by Cyril Gandon.
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
- Info: security policy file detected: SECURITY.md:1
- Info: Found linked content: SECURITY.md:1
- Info: Found disclosure, vulnerability, and/or timelines in security policy: SECURITY.md:1
- Info: Found text in security policy: SECURITY.md:1
Reason
no dangerous workflow patterns detected
Reason
0 existing vulnerabilities detected
Reason
no binaries found in the repo
Reason
license file detected
Details
- Info: project has a license file: LICENSE:0
- Warn: project license file does not contain an FSF or OSI license.
Reason
Found 26/30 approved changesets -- score normalized to 8
Reason
dependency not pinned by hash detected -- score normalized to 8
Details
- Warn: npmCommand not pinned by hash: types/lodash/scripts/generate-all.sh:5
- Warn: npmCommand not pinned by hash: types/lodash/scripts/generate-all.sh:12
- Info: 20 out of 20 GitHub-owned GitHubAction dependencies pinned
- Info: 8 out of 8 third-party GitHubAction dependencies pinned
- Info: 0 out of 2 npmCommand dependencies pinned
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
detected GitHub workflow tokens with excessive permissions
Details
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/UpdateCodeowners.yml:19
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/ghostbuster.yml:20
- Warn: jobLevel 'contents' permission set to 'write': .github/workflows/support-window.yml:22
- Info: topLevel 'contents' permission set to 'read': .github/workflows/CI.yml:16
- Info: topLevel 'contents' permission set to 'read': .github/workflows/UpdateCodeowners.yml:14
- Warn: no topLevel permission defined: .github/workflows/format-and-commit.yml:1
- Info: topLevel 'contents' permission set to 'read': .github/workflows/ghostbuster.yml:15
- Info: topLevel 'contents' permission set to 'read': .github/workflows/lint-md.yml:7
- Warn: no topLevel permission defined: .github/workflows/pnpm-cache.yml:1
- Info: topLevel 'contents' permission set to 'read': .github/workflows/support-window.yml:17
- Warn: no topLevel permission defined: .github/workflows/watchdog-publisher.yml:1
- Warn: no topLevel permission defined: .github/workflows/watchdog-typescript-bot.yml:1
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
- Warn: 0 commits out of 28 are checked with a SAST tool
Reason
project is not fuzzed
Details
- Warn: no fuzzer integrations found
Score
6.9
/10
Last Scanned on 2025-02-03
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