Catalog npm
Back to packageRELEASE DETAILS

0.2.1

npm

2office-sms

send sms use 2office service

Published21 Feb 2017
Direct dependencies3
Transitive dependenciesNot calculated

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.

Declared dependencies 3

Native requirements
3 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
request
Environment
{
  "local_name": "request",
  "alias": false,
  "peer_metadata": null
}
^2.79.0runtime
xml2js
Environment
{
  "local_name": "xml2js",
  "alias": false,
  "peer_metadata": null
}
^0.4.17runtime
mocha
Environment
{
  "local_name": "mocha",
  "alias": false,
  "peer_metadata": null
}
^3.2.0development

Distribution files

1 collected
Distribution 1

Source distribution

Source file
Checksums from source
{
  "shasum": "a9b44666a506a658448dc27fc32e137548eb6a16",
  "tarball": "https://registry.npmjs.org/2office-sms/-/2office-sms-0.2.1.tgz",
  "integrity": "sha512-gU9U5CfN8NL841xfTZUODQO0UYq98JE+vzjyMy8Fmub4ws4jBPgd3p6qGAIBIcclAq4bQWQK+sSX/QBszs1DVA==",
  "signatures": [
    {
      "keyid": "SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA",
      "sig": "MEUCIE+Xxxnqd9GFlObt3oBeuICniIqNlzfnJz/aPz+tKAAPAiEA8J/2lgBsMvzpBjlZ/TD30HPsAJH7h22W6dnBg988aAE="
    }
  ]
}

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_version:b775f314f1dbfbf72434e4656f28a6a5ce46f4331fa1b37546486a5ee235db64

Other collected versions

0.3.022 Feb0.2.021 Feb0.1.121 FebView all collected versions →