Bug#854560: ITP: node-max-timeout -- Max amount of milliseconds that can be passed to `setTimeout()`
Package: wnpp 
Severity: wishlist                                                         
Owner: Abhishek Lolage <abhisheklolage@gmail.com> 
X-Debbugs-CC: debian-devel@lists.debian.org                                
 
* Package name    : node-max-timeout                                       
 Version         : 1.0.0                                                  
 Upstream Author : Sindre Sorhus <sindresorhus@gmail.com> (sindresorhus.com) 
* URL             : https://github.com/sindresorhus/max-timeout            
* License         : Expat 
 Programming Lang: _javascript_                                             
 Description     : Max amount of milliseconds that can be passed to `setTimeout()` 
 
Values larger than the one returned from this module, 2147483647 (~25 days),  
are too big to fit into a signed 32-bit integer,                          
which is how JS engines store it, and will cause overflow,                
resulting in the timeout being scheduled immediately.                     
. 
Node.js is an event-based server-side _javascript_ engine.
![]()
 
Reply to: