pushover-console
v1.0.8
Published
Intercepts messages to console and sends them via Pushover.
Downloads
3
Maintainers
Readme
Pushover Console
Intercepts messages to console and sends them via Pushover.
Installation
npm install pushover-console --save
Usage
require('pushover-console');
After this, every call to console.info, console.warn or console.error will send a message using Pushover.
Make sure the following environment variables are defined.
- PUSHOVER_USER
- PUSHOVER_TOKEN
See https://www.npmjs.com/package/dotenv for more information about defining environment variables.