Get unlimited public & private packages + package-based permissions with npm Pro.Get started »

lutzjs

1.0.0 • Public • Published

Lutzjs

Idle user checking for frontend applications

Usage

Start monitoring the user

const idle = require('lutzjs')
 
$idle.watch()
// or
$idle.watch(5000)

Subscribe with a function

$idle.on(() => alert('HEY!!!'))

Ignore (when watching a video for example)

$idle.ignore()

License

MIT © TBalint19

Install

npm i lutzjs

DownloadsWeekly Downloads

5

Version

1.0.0

License

MIT

Unpacked Size

5.97 kB

Total Files

5

Last publish

Collaborators

  • avatar