Security News
Node.js EOL Versions CVE Dubbed the "Worst CVE of the Year" by Security Experts
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
@ibm-cloud/ibm-schematics
Advanced tools
Node.js client library to interact with various “Schematics APIs.
Disclaimer: this SDK is being released initially as a pre-release version. Changes might occur which impact applications that use this SDK.
The IBM Cloud “Schematics Node.js SDK allows developers to programmatically interact with the following IBM Cloud services:
Service Name | Import Path |
---|---|
Schematics | @ibm-cloud/ibm-schematics/schematics/v1 |
npm install @ibm-cloud/ibm-schematics
The library requires Identity and Access Management (IAM) to authenticate requests. There are several ways to set the properties for authentication
For Schematics IAM authentication set the following environmental variables by replacing with your proper service credentials.
SCHEMATICS_URL = https://schematics.cloud.ibm.com
SCHEMATICS_APIKEY = <apikey>
To use an external configuration file, see the related documentation in the Node.js SDK Core document about authentication.
To learn more about how to use programmatic authentication, see the related documentation in the Node.js SDK Core document about authentication.
A quick example to get you up and running with Schematics Node.js SDK service
const { IamAuthenticator } = require('@ibm-cloud/ibm-schematics/auth');
const SchematicsV1 = require('@ibm-cloud/ibm-schematics/schematics/v1');
// Create an IAM authenticator.
const authenticator = new IamAuthenticator({
apikey: '<apiKey>',
});
// Construct the service client.
const schematicsService = new SchematicsV1({
authenticator, // required
serviceUrl: 'https://schematics.cloud.ibm.com', // optional
});
// List all schematics workspaces
schematicsService
.listWorkspaces()
.then(response => {
console.log(response.result);
})
.catch(err => {
console.warn(err);
});
For sample code on handling errors, please see Schematics API docs.
For general SDK usage information, please see this link
If you are having difficulties using this SDK or have a question about the IBM Cloud services, please ask a question at Stack Overflow.
If you encounter an issue with the SDK, you are welcome to submit a bug report. Before that, please search for similar issues. It's possible someone has already encountered this issue.
Find more open source projects on the IBM Github Page
See CONTRIBUTING.
This project is released under the Apache 2.0 license. The license's full text can be found in LICENSE.
FAQs
IBM Cloud Node SDK
The npm package @ibm-cloud/ibm-schematics receives a total of 415 weekly downloads. As such, @ibm-cloud/ibm-schematics popularity was classified as not popular.
We found that @ibm-cloud/ibm-schematics demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Critics call the Node.js EOL CVE a misuse of the system, sparking debate over CVE standards and the growing noise in vulnerability databases.
Security News
cURL and Go security teams are publicly rejecting CVSS as flawed for assessing vulnerabilities and are calling for more accurate, context-aware approaches.
Security News
Bun 1.2 enhances its JavaScript runtime with 90% Node.js compatibility, built-in S3 and Postgres support, HTML Imports, and faster, cloud-first performance.