saarthdeshpande / npm-package-download-updates

Get notified of daily / weekly downloads for your NPM package. To set up a cron job to completely automate this process, integrate with Heroku.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

npm-package-download-updates

Deployed an NPM package, and want to keep track of the weekly downloads? Why visit every week, when you can have Telegram notify you when you desire?

Steps to run:

  1. Update the values of TOKEN, PACKAGE_NAME and TELEGRAM_CHAT_ID in npm_updates.py.
  2. To avoid manually running the code each time, setup a Heroku cron job (Resources > Add-ons > Heroku Scheduler) to automatically send you updates every day / week.

About

Get notified of daily / weekly downloads for your NPM package. To set up a cron job to completely automate this process, integrate with Heroku.


Languages

Language:Python 100.0%