alert when new version of whitelisted package is published
support Node.js 10+
WEBHOOK_URL=<your_webhook_url> node index.js -t slack -c "0 0 0 * * *" -f ./example/watchlist.json
you can customize your watchlist.json
.
-t
||--type=
: type of webhook. Currently support slack and discord.-c
||--cron=
: custom cron timer.h
andd
is predefined.-f
||--file=
: filename of package <-> version mapping json. Update by this program to maintain version as lastest.