# @pega/constellationjs

This npm package delivers the ConstellationJS files associated with a specific version of Pega Infinity to your project as an npm package. These ConstellationJS files enable interaction with the Constellation UI model, providing essential services such as data, metadata, and orchestration.

## Usage

Open your project's **package.json** file and in the **dependencies** section, specify the version of the ConstellationJS files required by your project in the following format:

> "@pega/constellationjs": "npm version or tag name"

**Note**:

- Ensure that you specify the npm version or tag name corresponding to the version of Pega Infinity used in your environment.
- If you are using Pega Infinity 23.1.1 or later versions, specify the [corresponding npm version](#npm-versions).
- If you are using Pega Infinity 23.1.0 or earlier versions, specify the [corresponding tag name](#tag-names).

For example:

- If your project requires the ConstellationJS files associated with Pega Infinity 25.1.1, specify

  > "@pega/constellationjs": "25.1.1"

- If your project requires the ConstellationJS files associated with Pega Infinity 23.1.0, specify
  > "@pega/constellationjs": "SDK-8.23.0"

<br>

## npm versions

If you are using Pega Infinity 23.1.1 or later, use the corresponding npm version mentioned in the following table:

| Pega Infinity version | npm version |
| --------------------- | ----------- |
| 25.1.1                | 25.1.1      |
| 25.1.0                | 25.1.0      |
| 24.2.2                | 24.2.2      |
| 24.2.1                | 24.2.1      |
| 24.2.0                | 24.2.0      |
| 24.1.2                | 24.1.2      |
| 24.1.1                | 24.1.1      |
| 24.1.0                | 24.1.0      |
| 23.1.2                | 23.1.2      |
| 23.1.1                | 23.1.1      |

<br>

## Tag names

If you are using Pega Infinity 23.1.0 or earlier, use the corresponding tag name mentioned in the following table:

| Pega Infinity version | Tag name   |
| --------------------- | ---------- |
| 23.1.0                | SDK-8.23.0 |
| 8.8.4                 | SDK-8.8.4  |
| 8.8.3                 | SDK-8.8.3  |
| 8.8.2                 | SDK-8.8.2  |
| 8.8.1                 | SDK-8.8.1  |
| 8.8.0                 | SDK-8.8.0  |
| 8.7.5                 | SDK-8.7.5  |
| 8.7.4                 | SDK-8.7.4  |
| 8.7.3                 | SDK-8.7.3  |
| 8.7.2                 | SDK-8.7.2  |
| 8.7.1                 | SDK-8.7.1  |
| 8.7.0                 | SDK-8.7.0  |

<br><br>
