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.
azure-batch
Advanced tools
uid: azure-batch summary: *content
This project provides a Node.js package that makes it easy to work with Microsoft Azure Batch Service. Right now it supports:
Please check details on API reference documents.
npm install azure-batch
var batch = require('azure-batch');
//user authentication
var credentials = new batch.SharedKeyCredentials('your-account-name', 'your-account-key');
var client = new batch.ServiceClient(credentials, 'your-batch-endpoint');
let options = {}
options.jobListOptions = { maxResults : 10 };
function loop(nextLink) {
if (nextLink !== null && nextLink !== undefined) {
return client.job.listNext(nextLink).then((res) => {
console.dir(res, {depth: null, colors: true});
return loop(res.odatanextLink);
});
}
return Promise.resolve();
};
client.job.list(options).then((result) => {
console.dir(result, {depth: null, colors: true});
}).then((result) => {
return loop(result.odatanextLink);
}).catch((err) => {
console.log('An error occurred.');
console.dir(err, {depth: null, colors: true});
});
FAQs
Microsoft Azure Batch Service Client Library for node
The npm package azure-batch receives a total of 9,159 weekly downloads. As such, azure-batch popularity was classified as popular.
We found that azure-batch demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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.