Introducing Socket Firewall: Free, Proactive Protection for Your Software Supply Chain.Learn More
Socket
Book a DemoInstallSign in
Socket

@nuskin/cs-product-lib

Package Overview
Dependencies
Maintainers
6
Versions
148
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@nuskin/cs-product-lib

Library for pulling and parsing product content (and applying business logic) retrieved from Contentstack

latest
npmnpm
Version
1.4.5
Version published
Weekly downloads
397
185.61%
Maintainers
6
Weekly downloads
 
Created
Source

@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

MIT

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

FAQs

Package last updated on 26 Sep 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts