idle-tracker
Tiny pure Javascript library to track browser inactivity
react-native-inactivity
Component that alerts when the user is inactive (i.e. when the App surface hasn't been touched for X ms)
user-idle-tracker
A library to check the status of the user and to run a callback when its considered Idle.