> ## Documentation Index
> Fetch the complete documentation index at: https://docs.voicemark.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Installation

> Install the VoiceMark TypeScript/JavaScript SDK.

The SDK is published to GitHub Packages under the `@defchat-ltd` scope.

## Configure npm

Add to your project's `.npmrc`:

```
@defchat-ltd:registry=https://npm.pkg.github.com
//npm.pkg.github.com/:_authToken=${GH_TOKEN}
```

`GH_TOKEN` must have `read:packages` scope. Create one at [github.com/settings/tokens](https://github.com/settings/tokens) (classic, `read:packages` checked).

For CI/CD, set `GH_TOKEN` as an environment secret. For local development, export it in your shell profile.

## Install

```bash theme={null}
npm install @defchat-ltd/voicemark-sdk
```

## Verify

```typescript theme={null}
import { VoiceMark } from "@defchat-ltd/voicemark-sdk";
const vm = new VoiceMark({ apiKey: "sk-..." });
```

## TypeScript

The SDK ships full TypeScript types. No `@types` package needed.

```typescript theme={null}
import type {
  EnrollResponse,
  ChallengeResponse,
  VerifyResponse,
} from "@defchat-ltd/voicemark-sdk";
```

## Package registry

```
https://github.com/orgs/DefChat-Ltd/packages?repo_name=voicemark-js
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.