Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
carpenterd-api-client
Advanced tools
The carpenterd-api-client
is an API client for the []carpenterd
]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 3 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.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.