@dv27/timedout
v2.0.1
Published
logs out user if no activity on the web page
Downloads
1
Readme
timedout
Executes a function after idle timeout.
installation
npm install @dv27/timedout
Usage
Import in your application
// @ts-ignore
import {TimedoutService} from '@dv27/timedout';
then
const t = new TimedoutService();
t.start(logout, 180000 )
here logout is some function you may want to execute after timeout