⚡️ Version 5.7 is now released!

Find out whats new
Sponsor

Handle Idle Users with Confidence

Detect and respond to your user's activity or lack thereof.

Get StartedGitHubNPM

Features

Robust feature set for all your activity detection needs.

Idle Detection

Callbacks for when your user goes idle and becomes active again after being idle. Timers are offloaded to a WebWorker to avoid background throttling.

Activity Detection

Callback when your user performs the specified events. This call back can be debounced or throttled to preserve performance.

Confirm Prompt

Callback to open a confirm prompt with a countdown timer before the idle event is fired. Give your users a chance to let you know they are still there.

Cross Tab Support

Support for multiple tabs and windows through a BroadcastChannel with localStorage fallback for older browsers.


Statistics

Current engagement and quality statistics for the latest build of IdleTimer.

20.6M

Total Downloads

1.6M

Monthly Downloads

953

Github Stars

169

Discord Members

100%

Test Coverage

A

Code Quality


Demo

See IdleTimer in action. Go ahead and play around!

timeout

promptBeforeIdle

debounce

throttle

eventsThrottle

Hover over a property or method to see a description.


Support IdleTimer

A lot of time and effort goes into maintaining and improving this project. Your donations help ensure that IdleTimer is the best it can be. You can support by subscribing or a one time donation. All donations have an associated reward.

Github Sponsors

Sponsor the project securely with Github

Sponsor

Organization Sponsors

Individual Sponsors



Connect with the community

Feel free to ask questions, report issues, and meet new people.

Join the Discord!

Made withby Randy Lebeau