<commit_before>node-idle
=========

Provides seconds since the user was last active<commit_msg>Added example, install & notes<commit_after>node-idle
=========

Provides seconds since the user was last active

## Install
```
npm install node-idle
```

## Example
```javascript
var idle = require('idle');

setInterval(function(){
	idle.tick(function(ms){
		console.log(ms);
	});	
}, 1000)
```

## Notes
Currently just returns 0 when run on linux. Sooon..
{'fraction_non_alphanumeric': 0.16556291390728478, 'fraction_numerical': 0.011037527593818985, 'mean_word_length': 5.135135135135135, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '434459', 'n_tokens_mistral': 150, 'n_tokens_neox': 139, 'n_words': 43}