Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

ezalertmejs

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ezalertmejs

A simple module to send alerts to via Telegram, Messenger, Skype or Slack, via https://EZAlert.me API

  • 0.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

ezalertmejs

A simple module to send alerts to via Telegram, Messenger, Skype or Slack, with https://EZAlert.me API

What is EZAlert.me

EZAlert.me is a service to easily push alert messages from your Apps to a selected number of users via standard Istant Messages services, like Telegram, Facebook Messenger and Skype, or via Slack.

EZAlert.me is very easy to use because you just have to call a REST API. Anyway this module makes it even easier because you only have to import it and use the sendAlert() function.

How EZAlert.me works

Create an account o EZAlert.me and get a distribution channel. Each channel has an API key and a start code. You must send your start code to EZAlert.me bot to let it know you want to receive messages from that channel: add EZAlert.me bot on your Telegram, Messenger or Skype app, and start a conversation with it by sending the start command (detailed instructions available at https://ezalert.me/help ). After you joined your channel, you are ready to broadcast alerts from your app to your channel calling EZAlert.me REST Api with this module.

How to use this module

ezalertmejs module will get your channel API key from environment, so be sure to define it before launching Node, like


EZALERTME_APIKEY='YOUR EZALERT.ME API KEY HERE' node main.js

Sending an alert is very easy, just import the module and call sendAlert() method:


const ezalertme = require('ezalertmejs')

ezalertme.sendAlert('Houston, we have a problem!')

If you don't want to use EZALERTME_APIKEY env variable, you can specify API key at runtime. Add it as second argument of sendAlert() method:


const ezalertme = require('ezalertmejs')

ezalertme.sendAlert('Houston, we have a problem!','My EZAlert.me API key')

Installation

This module is available on npm. Install it with:


npm i ezalertmejs

Keywords

FAQs

Package last updated on 08 May 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc