Skip to content

A NodeJs module for generating Cellcube USSD pages for Myriade's USSD platform

License

Notifications You must be signed in to change notification settings

mikashboks/cellcube-ussd-page-builder-nodejs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Myriade's CellCube USSD Page builder for nodeJs

A small library providing utility methods to generate USSD page for CellCube platorm.

Installation

npm install cellcube-ussd-page-builder-nodejs --save

Usage

 builder = require('cellcube-ussd-page-builder-nodejs');
 
 var options = {
     descr: "cellcube-ussd-page-builder-nodejs",
     content: "Page content goes there",
     links: [
         {href: "path/option_one", text: "Option one"},            
         {href: "path/option_two", text: "Option two"}    
     ]
 };

 
 console.log(builder.generateContentPage(options));

Tests

  npm test

Contributing

In lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code.

Release History

  • 1.0.3
  • 1.0.2
  • 1.0.1
  • 1.0.0 Initial release

About

A NodeJs module for generating Cellcube USSD pages for Myriade's USSD platform

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%