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:
- Update the values of TOKEN, PACKAGE_NAME and TELEGRAM_CHAT_ID in npm_updates.py.
- 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.