Socket
Book a DemoInstallSign in
Socket

alertover

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

alertover

AlertOver (https://www.alertover.com ) client for Node.js

1.1.0
latest
Source
npmnpm
Version published
Weekly downloads
0
-100%
Maintainers
1
Weekly downloads
 
Created
Source

node-alertover

AlertOver (https://www.alertover.com ) client for Node.js

AlertOver Node.js 客户端

安装使用使用

npm install alertover --save
const AlertOver = require('alertover');

const client = new AlertOver({
  source: 's-f01ff252-6609-47f3-a7ae-xxxxxx', // 默认发送源
  receiver: 'g-04523131-19b3-4abd-89f7-xxxxx', // 默认接收组
})

client.send('Hello', 'World').then(console.log).catch(console.log)

详情参数指定

/**
  * 发送 Alert
  * 
  * @param {String} title 发送标题
  * @param {Stringany} content 发送内容
  * @param {boolean} [urgency=false] 是否紧急 
  * @param {String} [receiver=this.receiver] 接收组 
  * @param {String} [source=this.source] 发送源
  * @returns {Promise}
  * @memberof AlertOver
  */
send(title, content, urgency = false, receiver = this.receiver, source = this.source)

Keywords

alertover

FAQs

Package last updated on 26 Aug 2017

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.