ut-ussd
UT USSD module
Last updated 4 months ago by kalin.krustev .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install ut-ussd 
SYNC missed versions from official npm registry.

Configuration options

// configuration
config = {
    // refresh: gets refreshed on every cycle;static(default): sets only once and will expire in predefined period of time (timeOut)
    expireRule:  'refresh|static',
    // expiration period definition
    timeOut: 1000,
    // shortcodes
    shortCodes: {
        "*877#": "menu/entrance"
    },
    // maintanenace mode state
    maintenanceModeState: "menu/maintenance",
    // wrong input state
    wrongInputState: "error/wrongInput",
    // resume state
    resumeState: "menu/resume",
    // ussd strings
    strings: ["*877*1*1#", "*877*1*2#", "*877*2*1#", "*877*2*2#", "*877*2*3#", "*877*3*1#", "*877*3*2#", "*877*4#"],
    // default phone number for the simulator
    defaultPhone: "1234",
    // default shortcode for the simulator
    defaultShortCode: "*131#",
    // whether the characters count should be visible in the simulator
    charsCount: true,
    // To display a slogan with the respective text above the phone number input (no slogan will be displayed by default)
    slogan: 'Test MFSP 1'
}

Current Tags

  • 6.8.0-test.1                                ...           ci (3 years ago)
  • 6.8.0                                ...           latest (4 months ago)

28 Versions

  • 6.8.0                                ...           4 months ago
  • 6.8.0-test.1                                ...           3 years ago
  • 6.7.9                                ...           3 years ago
  • 6.8.0-test.0                                ...           3 years ago
  • 6.7.8                                ...           3 years ago
  • 6.7.7                                ...           3 years ago
  • 6.7.6                                ...           3 years ago
  • 6.7.5                                ...           3 years ago
  • 6.7.4                                ...           3 years ago
  • 6.7.3                                ...           3 years ago
  • 6.7.2                                ...           3 years ago
  • 6.7.1                                ...           3 years ago
  • 6.7.0                                ...           3 years ago
  • 6.6.0                                ...           3 years ago
  • 6.5.8                                ...           4 years ago
  • 6.5.7                                ...           4 years ago
  • 6.5.5                                ...           4 years ago
  • 6.5.4                                ...           4 years ago
  • 6.5.3                                ...           4 years ago
  • 6.5.2                                ...           4 years ago
  • 6.5.1                                ...           4 years ago
  • 6.5.0                                ...           4 years ago
  • 6.4.0                                ...           4 years ago
  • 6.3.0                                ...           4 years ago
  • 6.2.0                                ...           4 years ago
  • 6.1.0                                ...           4 years ago
  • 6.0.0                                ...           4 years ago
  • 5.5.20                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 28
Dependencies (6)
Dev Dependencies (1)
Dependents (1)

Copyright 2014 - 2017 © taobao.org |