@nuskin/ns-product
v3.50.11
Published
Nu Skin's product presentation javascript api's dealing with products.
Downloads
1,692
Keywords
Readme
@nuskin/ns-product
Nu Skin's product presentation javascript api's dealing with products.
Installing
Usng npm:
npm add @nuskin/ns-product
Usng yarn:
yarn add @nuskin/ns-product
Example usage
const { popularProductsService } = require('@nuskin/ns-product')
let popularProducts = await popularProductsService.getPopularProducts("US");
for(const popularProduct of popularProducts) {
console.log(`sku: ${popularProduct.sku}, title: ${popularProduct.title}`);
}
Resources
- Changelog could go here