Socket
Socket
Sign inDemoInstall

shgbit-ali-sms-api

Package Overview
Dependencies
47
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    shgbit-ali-sms-api

Aliyun sms client 阿里云通信nodejs客户端


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Install size
3.69 MB
Created
Weekly downloads
 

Readme

Source

shgbit-ali-sms-api

aliyun sms client 阿里云通信nodejs客户端

安装

$ npm install shgbit-ali-sms-api --save

使用

const AliSms = require('shgbit-ali-sms-api');

const client = new AliSms({
  AccessKeyId: 'xxxxxxxx',
  AccessKeySecret: 'xxxxxxx'
});

const options = {
  SignName: '短信签名',
  TemplateCode: '模版编号',
  TemplateParam: '模版参数',
  PhoneNumbers:'手机号码'
};
 client.SendSms(options)
 .then()
 .catch()

Keywords

FAQs

Last updated on 11 Jul 2017

Did you know?

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc