Usage
// Client use
const sc = new ViURShopClient();
sc.cart_list()
.then(payload => {
for (let root_node of payload) {
console.debug(root_node);
// [...]
}
});
Installation
Download node at nodejs.org and install it, if you haven't already.
npm install @viur/viur-shop-client --save
This package is provided in these module formats:
- CommonJS
Documentation
You can find the documentation at viur-framework.github.io/viur-shop-client (WIP).
We're following JSDoc.