Gathering detailed insights and metrics for @sap/cf-tools
Gathering detailed insights and metrics for @sap/cf-tools
This package provides a set of APIs for easy application development with Cloud Foundry. You can use these APIs to manage apps, service instances, orgs, spaces, and users in your environment.
npm install @sap/cf-tools
Typescript
Module System
Node Version
NPM Version
83.3
Supply Chain
86.1
Quality
76.6
Maintenance
100
Vulnerability
99.6
License
TypeScript (98.5%)
JavaScript (1.47%)
Shell (0.04%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
8 Stars
144 Commits
8 Forks
8 Watching
11 Branches
602 Contributors
Minified
Minified + Gzipped
Latest Version
3.2.2
Package Id
@sap/cf-tools@3.2.2
Unpacked Size
72.47 kB
Size
17.63 kB
File Count
19
NPM Version
10.8.2
Node Version
22.8.0
Publised On
16 Sept 2024
Cumulative downloads
Total Downloads
Last day
0%
0
Compared to previous day
Last week
0%
0
Compared to previous week
Last month
0%
0
Compared to previous month
Last year
0%
0
Compared to previous year
4
28
This package provides a set of APIs to help you develop applications in Cloud Foundry. You can use these APIs to manage apps, service instances, orgs, spaces, and users in your environment. Mostly, this is a wrapper of the CF command line client, which runs a particular command and parses the output to the suitable JSON file. If an error or failure occurs, the runtime exception throws with relevant problem information.
from version v1.0.0
and above:
Make sure you have installed the CF CLI v7 tool in your environment.
below version v1.0.0
:
Make sure you have installed the CF CLI v6 tool in your environment.
Example 1
try {
const result = await cfLogin("https://api.cf.....com", "user", "password");
if (result === "OK") {
// successful
}
} catch (e) {
// display or/and log error
}
Example 2
try {
const spaces = await cfGetAvailableSpaces("myOrg");
for (const space of spaces) {
console.log("Space label is " + space.label + " guid is " + space.guid);
}
} catch (e) {
// display or/and log error
}
Contributing information can be found in the CONTRIBUTING.md file.
No vulnerabilities found.
Reason
no binaries found in the repo
Reason
no dangerous workflow patterns detected
Reason
license file detected
Details
Reason
security policy file detected
Details
Reason
5 existing vulnerabilities detected
Details
Reason
Found 10/21 approved changesets -- score normalized to 4
Reason
1 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
project is not fuzzed
Details
Reason
Project has not signed or included provenance with any releases.
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2024-12-16
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