
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.
Since intervals and timeouts lists are not saved on the browser. This package helps you to manage them.
const timerPro = require("timerpro");
Create new timeout (setTimeout)
new_timeout(timerName, timerFN, timerDelay, timerArgs);
Example:
timerPro.new_timeout("MyRefresh", (msg) => {
console.log(msg);
}, 500, "Hello world!);
Create new interval (setInterval)
new_interval(timerName, timerFN, timerDelay, timerArgs);
Example:
timerPro.new_interval("MyRefresh", (msg) => {
console.log(msg);
}, 500, "Hello world!);
Get last timeout or interval ID
get_last_timeout_id(timerName);
get_last_interval_id(timerName);
Example:
get_last_timeout_id("MyRefresh");
get_last_interval_id("MyRefresh");
Get timeout or interval by ID
get_timeout_by_id(timerName, id);
get_interval_by_id(timerName, id);
Example:
get_timeout_by_id("MyRefresh", 1);
get_interval_by_id("MyRefresh", 1);
Clear timeout or interval by ID
clear_timeout_by_id(timerName, id);
clear_interval_by_id(timerName, id);
Example:
clear_timeout_by_id("MyRefresh", 1);
clear_interval_by_id("MyRefresh", 1);
Clear all the timeouts or intervals by name
clear_timeouts(timerName);
clear_intervals(timerName);
Example:
clear_timeouts("MyRefresh");
clear_intervals("MyRefresh");
Clear all the timeouts or intervals
clear_all_timeouts();
clear_all_intervals();
Example:
clear_all_timeouts();
clear_all_intervals();
Clear all the timeouts and intervals ever created
clear_all();
Example:
clear_all();
Get all the timeouts and intervals ever created
get_all();
Example:
console.log(get_all());
Clean and reorder finished and deleted timeouts or intervals
clean(type) // "Timeout", "Interval"
Example:
clean("Timeout");
Clean and reorder finished and deleted timeouts and intervals
clean_all();
Example:
clean_all();
FAQs
Manage intervals and timeouts like a pro
The npm package timerpro receives a total of 0 weekly downloads. As such, timerpro popularity was classified as not popular.
We found that timerpro demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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.