Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/revolunet/urlWatch
https://github.com/revolunet/urlWatch
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/revolunet/urlWatch
- Owner: revolunet
- Created: 2011-12-21T15:22:32.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2011-12-22T02:14:52.000Z (almost 13 years ago)
- Last Synced: 2024-07-15T14:39:04.972Z (5 months ago)
- Homepage:
- Size: 97.7 KB
- Stars: 1
- Watchers: 4
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
## INSTALLATION
npm install urlWatch
## SIMPLE USAGE
``` js
var urlWatch = require('urlWatch');
var options = {
smtp: 'my.smtp.com',
curlConfig: {
host: 'my.domaine.com',
port: 80,
path: '/target/file/path',
method: 'POST',
},
mailConfig: {
sender: '[email protected]',
to: '[email protected]',
subject: 'urlWatch'
}
};var watcher = new urlWatch(options);
watcher.run();
```
Take a look to `examples` for more complex usages.