@nuskin/product-lib

2.3.0 • Public • Published

@nuskin/product-lib

Installing

Usng npm:

npm add @nuskin/product-lib

Usng yarn:

yarn add @nuskin/product-lib

Example usage

const { productLib } = require("@nuskin/product-lib");

let productFromSku = productLib.getProduct({
  fromId: "01001054",
  env: "dev",
  market: "us",
  language: "en",
});
console.log(JSON.stringify(productFromSku));

let productFromSlug = productLib.getProduct({
  fromSlug: "tegreen",
  env: "dev",
  market: "us",
  language: "en",
});
console.log(JSON.stringify(productFromSlug));

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`.
```bash
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

TODO: Write documentation about Semantic Release (don't forget prereleases)

How to use Semantic Release in your pipeline

Link to another page or write up instructions on how Semantic Release works with the pipeline

eslint commit-analyzer rules.

Readme

Keywords

none

Package Sidebar

Install

npm i @nuskin/product-lib

Weekly Downloads

696

Version

2.3.0

License

MIT

Unpacked Size

59.3 kB

Total Files

6

Last publish

Collaborators

  • nkranendonk
  • emoore
  • nuskin-cws
  • klau
  • rellenberger