couchService
.getProducts('some-category')
.then(function(products){
//do something with products
});
var item = basketService
.addItem(product, 1, variant);
basketService.increaseOne(item);
basketService.decreaseOne(item);
basketService.increase(item, 5);
basketService.decrease(item, 5);
basketService.exists(product, variant);
basketService.find(predicate);
basketService.getSummary();
searchService .search(searchTerm, options) .then(function(response){
//do something with response });
checkoutService .getSupportedCheckoutMethods(...) .then(function(response){
//do something with response });
checkoutService .checkoutWithCouchCommerce(...) .then(function(token){
//use token });
$ npm install sofa
use meta package