New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

timerpro

Package Overview
Dependencies
Maintainers
0
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

timerpro - npm Package Compare versions

Comparing version
1.0.3
to
1.0.4
+22
example/test.js
const timerPro = require('timerpro');
let i = 1;
timerPro.setTimeout("MyTimeout1", (msg) => {
console.log(`${i} - ${msg}`);
i ++;
}, 3000, ["Hello World!"]);
timerPro.setTimeout("MyTimeout2", (msg) => {
console.log(`${i} - ${msg}`);
i ++;
}, 6000, ["Hello World!"]);
timerPro.setInterval("MyInterval", (msg) => {
console.log(`${i} - ${msg}`);
i ++;
}, 2000, ["Repeating Message"]);
timerPro.setTimeout("MyTimeout3", () => {
timerPro.clearAll();
}, 10000);
+1
-1
{
"name": "timerpro",
"version": "1.0.3",
"version": "1.0.4",
"description": "Manage intervals and timeouts like a pro",

@@ -5,0 +5,0 @@ "main": "dist/timerpro.js",