
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.
JavaScript Resilience Library
Mollitia is a JavaScript Resilience library that works on Node and on browsers.
Its purpose is to help organize asynchronous operations under a highly customizable circuit that helps manage error use cases.
When everything is falling apart, it stops the classic flow and uses modules to manage failures.
Please check out the official documentation to get started using Mollitia, visit genesys.github.io/mollitia.
npm install --save mollitia
// Imports the library
import * as Mollitia from 'mollitia';
// Creates a circuit
const myCircuit = new Mollitia.Circuit({
// Initializes a circuit with a handler
func: yourFunction
});
// This will execute yourFunction('dummy')
await myCircuit.execute('dummy');
// Imports the library
import * as Mollitia from 'mollitia';
// Creates a retry module
const myRetryModule = new Mollitia.Retry({
attempts: 2,
interval: 500
});
// Creates a circuit
const myCircuit = new Mollitia.Circuit({
// Initializes a circuit with a handler
func: yourFunction,
options: {
modules: [
// Adds a retry module to the circuit
myRetryModule
]
}
});
// This will execute yourFunction('dummy'), but if it fails, it will retry two times, once every 500ms
await myCircuit.execute('dummy');
FAQs
JavaScript Resilience Library
The npm package mollitia receives a total of 2,228 weekly downloads. As such, mollitia popularity was classified as popular.
We found that mollitia demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 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
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.