# @nuskin/loyalty-elements

> Loyalty elements component.

Latest version **4.2.0** (published 2025-03-31) · ISC license · 0 weekly downloads

## Install

```sh
npm install @nuskin/loyalty-elements
pnpm add @nuskin/loyalty-elements
yarn add @nuskin/loyalty-elements
bun add @nuskin/loyalty-elements
```

## Health

**Score 25/100 (F)** — status: maintenance-mode.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: stale; low maintenance score.

## Facts

| | |
|---|---|
| Version | 4.2.0 |
| Published | 2025-03-31 |
| First published | 2020-03-26 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Unpacked size | 304.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Ryan Kell |
| Maintainers | nkranendonk, emoore, nuskin-cws, klau, rellenberger |

## Links

- npm: https://www.npmjs.com/package/@nuskin/loyalty-elements
- Repository: git@code.tls.nuskin.io:ns-am/nu-skin-aem/wm/loyalty-elements
- Homepage: https://code.tls.nuskin.io/ns-am/nu-skin-aem/wm/loyalty-elements/-/blob/master/README.md
- npm.io page: https://npm.io/package/@nuskin/loyalty-elements

## Dependencies (1)

- [@nuskin/ns-loyalty-web](https://npm.io/package/@nuskin/ns-loyalty-web.md) 1.5.7

## Recent versions

- 4.2.0 (latest) — 2025-03-31
- 4.1.1-td-1000.2 (prerelease) — 2025-03-25
- 4.1.1-td-1000.1 — 2025-03-21
- 4.1.0 — 2024-03-08
- 4.0.3-cx24-3964.1 — 2023-04-28
- 4.0.2 — 2022-10-12
- 4.1.0-cx13-12000.4 — 2022-06-02
- 4.1.0-cx13-12000.3 — 2022-05-31
- 4.1.0-cx13-12000.2 — 2022-05-27
- 4.1.0-cx13-12000.1 — 2022-05-17
- 4.0.1 — 2022-05-09
- 4.0.0 — 2022-01-20
- 4.0.0-cx15-2683.1 — 2022-01-14
- 3.26.1 — 2021-05-03
- 3.26.1-cx15-2828.2 — 2021-04-21
- … 35 more at https://npm.io/package/@nuskin/loyalty-elements/versions

## README

# Loyalty Elements

This is an embeddable library with UI components to be used for interacting with loyalty functionality

## Using
> yarn add @nuskin/ns-loyalty-elements
> 

## Local development

#### If you are using this in an SPA
> git clone git@code.tls.nuskin.io:ns-am/nu-skin-aem/wm/loyalty-elements.git
> cd loyalty-elements
> yarn link
> ## cd into the repo where you want to use the code
> yarn
> yarn link "@nuskin/loyalty-elements"
> yarn build
> yarn serve

And your SPA should automatically detect changes to loyalty-elements

### If you are using this in an AEM module
Yarn link does not currently seem to work well with AEM builds. In order to see your changes in an AEM module, you will need to make your changes, then push out a pre-release of loyalty-elements and update the dependency in the AEM module to point to the pre-release. If you can, it would probably be best to do your development with this linked to a Vue SPA, then verify that your changes worked in the AEM module, rather than doing all of your development by pre-releasing.

---
_Source: https://npm.io/package/@nuskin/loyalty-elements · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
