
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.
increment-fire
Advanced tools
A simple way of keeping track of asynchronous events.
When you have tried all the promises libraries and found that they all have this "thing", that make it unusable in your case: increment-fire...
As soon as the module has shown it's worth and stability on a live system, it will be marked as version >= 1.0.0.
Until then: Feel free to play around with it, learn from it.
Note: this code has already been running on a node.js 0.6.6 live system for many months.
npm install increment-fire
var IncFire = require('./index');
var incFire = new IncFire();
incFire.on(2, function() {
console.log('incFire has counted to 2');
});
incFire.on(4, function() {
console.log('incFire has counted to 4');
});
// Run and increment
for(var i=0 ; i < 10 ; i++) {
setTimeout(function() {
firstFire.inc(1); // Increment by 1 (which is actually the default)
secondFire.inc();
}, i*250);
}
You can see a bit more elaborate example in the example.js file.
FAQs
A simple way of keeping track of asynchronous events.
We found that increment-fire 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.