Catalog npm
PACKAGE EXPLORERView in registry

2office-sms

npm

send sms use 2office service

Versions collected4
Direct dependencies3From release 0.3.0
Last observed20 Oct, 19:16 UTC

README

Current package documentation

Install

npm i 2office-sms --save

Usage

const Office2 = require('../')

const office2 = new Office2({
  account: 'your_2office_account',
  password: 'your_2office_password',
  servivalKey: 'your_2office_key'
})

office2.sendSms('18902xxxxxx', 'message content', 'your_channel', new Date().getTime(), 1, function (err, result) {
  return done(err)
})

Api

  • sendSms send normal sms(text message)
  • sendVoiceSms send voice sms(voice call)

Test

modify test/fixture.json, and run mocha

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Versions 4

Collected releases
VersionPublishedDirect dependenciesOpen version
0.3.0Registry latest22 Feb 20173
0.2.121 Feb 20173
0.2.021 Feb 20173
0.1.121 Feb 20173

Package advisories

0
No matching advisories collected

This describes our collected data; it is not a security assessment.

Repository

PENDING
sabakugaara/2office-sms

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 20 Oct, 19:16 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package:b1ddfb66d6d1fc09819b67c621b384797fd3646ed408f6ef689a22b6ad825605