JSPM

myriade-ussd-page-builder-node

0.1.0
  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 4
  • Score
    100M100P100Q40998F
  • License MIT

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

Package Exports

  • myriade-ussd-page-builder-node

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (myriade-ussd-page-builder-node) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Myriade USSD Page builder for nodeJs

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

Installation

npm install myriade-ussd-page-builder-node --save

Usage

builder = require('myriade-ussd-page-builder-node');

var options = { descr: "ussd-page-builder", content: "Page content goes there", links: [ {href: "somepath/option_one", text: "Option one"},
{href: "somepath/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

  • 0.1.0 Initial release