@nuskin/cs-product-lib
v1.1.4
Published
Library for pulling and parsing product content (and applying business logic) retrieved from Contentstack
Downloads
216
Keywords
Readme
@nuskin/cs-product-lib
Library for pulling and parsing product content (and applying business logic) retrieved from Contentstack.
Installing
Using npm:
npm add @nuskin/cs-product-lib
Usng yarn:
yarn add @nuskin/cs-product-lib
Example usage
const { ContentStackProduct } = require('@nuskin/cs-product-lib');
const config = {
apiKey: 'apikey',
environment: 'cs-environment',
deliveryToken: 'cs-delivery-token',
awsBase: 'https://devapi.cloud.nuskin.com',
homeUrl: 'https://dev.nuskin.com',
clientId: 'clientId'
}
const csProduct = ContentStackProduct.csProduct(config);
csProduct.getProductsByUID('uid')
Resources
- Changelog could go here
License
7. Turning on your CI/CD pipeline
Once you are ready for your project to start running the CI/CD pipeline, you should rename the gitlab-ci.yml
to .gitlab-ci.yml
.
git mv gitlab-ci.yml .gitlab-ci.yml
git commit -am'Chore: renaming gitlab-ci.yml to .gitlab-ci.yml so my pipeline runs'
git push