0.0.4 • Published 11 years ago

idle-hands v0.0.4

Weekly downloads
3
License
-
Repository
github
Last release
11 years ago

Idle Hands

Run background or low priority tasks while Node.js is idle. Hooks the idle watcher in the Node.js main event loop.

	npm install idle-hands

Usage:

	var idleHands = require('idle-hands');

	idleHands.on('idle', function() {
		// do stuff
	});

	// start idle watcher
	idleHands.start();

	// stop idle watcher
	idleHands.stop();
0.0.4

11 years ago

0.0.3

11 years ago

0.0.2

11 years ago

0.0.1

11 years ago