Skip to main content
The Squire JavaScript SDK is hosted on a private NPM registry and works with any frontend framework — React, Angular, Vue, or plain JavaScript. Before you can install the package, you need to point your package manager at the Squire registry and provide your authentication token.
1

Configure the NPM registry

Add the following lines to your .npmrc file (create it in your project root if it doesn’t exist):
.npmrc
@squirehealth:registry=https://pkg.squire.eu/npm/
//pkg.squire.eu/npm/:_authToken=YOUR_TOKEN
Replace YOUR_TOKEN with the token provided by your integration partner.
2

Install the SDK

With the registry configured, install the Squire SDK:
npm install @squirehealth/sdk
The SDK ships with TypeScript type definitions. No separate @types package is required.
You’re now ready to initialize the SDK in your application. See SDK usage to get started.