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

Dependents (1)

Package Sidebar

Install

npm i lutzjs

Weekly Downloads

1

Version

1.0.0

License

MIT

Unpacked Size

5.97 kB

Total Files

5

Last publish

Collaborators

  • tbalint19