You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Bhaskara Kishore 3960daade2
sent again friend request
3 years ago
..
README.md sent again friend request 3 years ago
example.js sent again friend request 3 years ago
index.js sent again friend request 3 years ago
package.json sent again friend request 3 years ago

README.md

Long timeouts

Long timeout makes it possible to have a timeout or interval that is longer than 24.8 days (2^31-1 milliseconds).

Usage

var lt = require('long-timeout')

var timeout = lt.setTimeout(function() {
  console.log('in 30 days')
}, 1000 * 60 * 60 * 24 * 30)

var interval = lt.setInterval(function() {
  console.log('every 30 days')
}, 1000 * 60 * 60 * 24 * 30)


// Clear them
lt.clearTimeout(timeout)
lt.clearInterval(interval)

Install

npm install long-timeout

Licence

MIT