Skip to content

JamesHight/node-idle-hands

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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();

About

Run background or low priority tasks while Node.js is idle.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published