idle-hands12

0.0.5 • Public • Published

Idle Hands

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

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

Readme

Keywords

none

Package Sidebar

Install

npm i idle-hands12

Weekly Downloads

0

Version

0.0.5

License

none

Last publish

Collaborators

  • siranthony