npm-status-messenger
TypeScript icon, indicating that this package has built-in type declarations

2.3.4 • Public • Published

NPM Status Messenger

Monorepo Build Continuous Deploy

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

Readme

Keywords

Package Sidebar

Install

npm i npm-status-messenger

Weekly Downloads

298

Version

2.3.4

License

MIT

Unpacked Size

15.4 kB

Total Files

18

Last publish

Collaborators

  • henrypenton