
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
Allocate worker roles among a collective of workers according to their abilities.
var marx = require('marx');
var work = { web : 3, auth : 2, logger : 1 };
var workers = { a : 2, b : 1, c : 5 };
var shares = marx(workers, work);
console.dir(shares);
output:
{ c: { web: 2, auth: 1 },
b: { auth: 1 },
a: { logger: 1, web: 1 } }
var marx = require('marx')
Take an object mapping worker names to role capacity and an object mapping work names to a number of instances.
Return an object mapping worker names to objects mapping how many of each type of work each worker should perform.
If the workers don't have enough capacity to do the work, the extra work will
appear in an '_overflow' key in the result.
With npm do:
npm install marx
MIT
FAQs
allocate worker roles among a collective of workers according to their abilities
The npm package marx receives a total of 3 weekly downloads. As such, marx popularity was classified as not popular.
We found that marx 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
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.