Share your code. npm Orgs help your team discover, share, and reuse code. Create a free org »

url-watch

0.1.4 • Public • Published

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

Keywords

none

install

npm i url-watch

Downloadsweekly downloads

0

version

0.1.4

license

none

repository

githubgithub

last publish

collaborators

  • avatar