Research
Security News
Quasar RAT Disguised as an npm Package for Detecting Vulnerabilities in Ethereum Smart Contracts
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
carpenterd-api-client
Advanced tools
Node.js API client to interact with the carpenter build service.
The carpenterd-api-client
is an API client for the carpenterd
build service.
Install carpenterd-api-client
from the npm registry:
npm install --save carpenterd-api-client
In all examples we assume that you've already initialized the client as followed:
'use strict';
var Carpenter = require('carpenterd-api-client');
var carpenter = new Carpenter('url-to-the-service');
As you can see in the example above, the Carpenter
constructor requires one
argument:
Trigger a new build on carpenter service. The data provided should have
the same structure and signature as npm publish
posted JSON.
carpenter.build({ data: {
"name": "tester", // name of the package
"dist-tags": {
"latest": "1.0.0"
},
"versions": {
"1.0.0": {
"name": "tester",
"version": "1.0.0"
...
}
},
"_attachment": "" // base64 encoded binary blob
}}, function () {
});
Cancel a build on carpenter service.
carpenter.cancel({
"pkg": "tester", // name of the package
"version": "1.0.0", // valid semver
"env": "prod" // optional environment parameter
}}, function () {
});
npm test
MIT
FAQs
Node.js API client to interact with the carpenter build service.
The npm package carpenterd-api-client receives a total of 2 weekly downloads. As such, carpenterd-api-client popularity was classified as not popular.
We found that carpenterd-api-client demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 5 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.
Research
Security News
Socket researchers uncover a malicious npm package posing as a tool for detecting vulnerabilities in Etherium smart contracts.
Security News
Research
A supply chain attack on Rspack's npm packages injected cryptomining malware, potentially impacting thousands of developers.
Research
Security News
Socket researchers discovered a malware campaign on npm delivering the Skuld infostealer via typosquatted packages, exposing sensitive data.