npm-status-messenger
v2.3.7
Published
An NPM status messenger
Downloads
595
Readme
NPM Status Messenger
This package will allow you to send parsed data about the output of npm audit/outdated to a chat with a telegram bot.
Start by writing out the audit or outdated data to a file
pnpm outdated --json > outdated.json
pnpm audit --json > audit.json
You can then run this package from the command line, so long as you have the following environment variables set:
TELEGRAM_API_URL
TELEGRAM_CHAT_ID
TELEGRAM_BOT_TOKEN
To send the audit message, run:
pnpx npm-status-messenger --audit path/to/audit.json packageName
To send the outdated message, run:
pnpx npm-status-messenger --outdated path/to/outdated.json packageName