Installing the NPM package

Requirements

To use our Celebrity SDK npm package, an Access Token will be needed. Access Token is available in Private area. If you don't have access to the private area, please contact us at Support@sceenic.co.

What is the Access Token? Why do you need it?

Celebrity SDK is a private package that is hosted on the npm registry. Only authorized users can access it. When you receive access to the SDK we will generate an authentication token for you. An authentication token is a hexadecimal string that gives you access to SDK.

Before installation

In your project root folder create a .npmrc file. This file will set the specific npm config values for this project. Insert the code snippet below to the .npmrc file. Replace YOUR_ACCESS_TOKEN with the token that was provided.

//registry.npmjs.org/:_authToken=YOUR_ACCESS_TOKEN

Installation

npm i @sscale/celebritysdk

Documentation

Usage

import { ParticipantAPI, CelebrityAPI } from '@sscale/celebritysdk';

Last updated