url-watch

Trigger an event on remote file change

npm install url-watch
2 downloads in the last week
8 downloads in the last month

url-watch NPM version Build Status Dependency Status

Trigger an event when a remote file header changes

Install

npm install url-watch

Usage

var url = require('url-watch');

url.watch({
    url:   'http://somedomain.com/path.htm'
    every: 60*1000,                         // minute
    do:    function(header) {
      console.log(header);
    }
});

License: MIT

npm loves you