Skip to content

Getting Started with the PandaTS Javascript SDK Package ​

Before you can install this package, you must add the private registry for it to your .npmrc or .yarnrc files:

bash
echo @nht-pandats:registry=https://gitlab.com/api/v4/projects/56175127/packages/npm/ >> .npmrc
text
@nht-pandats:registry=https://gitlab.com/api/v4/projects/56175127/packages/npm/
bash
echo "\"@nht-pandats:registry\" \"https://gitlab.com/api/v4/projects/56175127/packages/npm/\"" >> .yarnrc
text
"@nht-pandats:registry" "https://gitlab.com/api/v4/projects/56175127/packages/npm/"

You can then install the package using your preferred package manager:

bash
npm i @nht-pandats/sdk
bash
yarn add @nht-pandats/sdk

Once installed, you can import/require based on the modules. For more information, see the Full API.