open-index/open-npm huggingface dataset:
npm package: @hackmd/idle-js
Description: [![Build Status](https://travis-ci.org/shawnmclean/Idle.js.png?branch=master)](https://travis-ci.org/shawnmclean/Idle.js)
Author: Shawn Mclean
Latest version: 1.0.1

[![Build Status](https://travis-ci.org/shawnmclean/Idle.js.png?branch=master)](https://travis-ci.org/shawnmclean/Idle.js)

# Idle.Js

## NuGet

Visual Studio users can install this directly into their web projects by executing the following command in the [Package Manager Console](http://docs.nuget.org/docs/start-here/using-the-package-manager-console)

    PM> Install-Package Idle.js

## Web Component

Polymer wrapper is available [here](https://github.com/firmfirm/f-idlejs).

## Description

Tiny javascript library to report activity of user in the browser (away, idle, not looking at webpage, etc). that is independent of any other javascript libraries such as jquery.

You can view the demo [here.](http://shawnmclean.github.com/Idle.js/)


## Changelog

0.0.2 (19-11-14) - Bower Support

0.0.2 (7-03-12) - Added 2 events for the visibility API. Now detects when is a user changes tabs or returns.

0.0.1 - Initial activity monitoring.