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