Skip to main content

Package Installation

Requirements

  • Node.js 18 or later
  • TypeScript 5.0 or later (recommended)

TypeScript Configuration

The SDK is written in TypeScript and includes type definitions. For the best experience, ensure your tsconfig.json includes:
{
  "compilerOptions": {
    "strict": true,
    "moduleResolution": "bundler",
    "target": "ES2022",
    "lib": ["ES2022"]
  }
}

Verify Installation

Test that the SDK is installed correctly:
import { ComplianceSDK } from "@artu-ai/compliance-sdk";

const sdk = new ComplianceSDK({
  apiKey: "test_key",
  environment: "test",
});

console.log("SDK initialized successfully");
console.log("Environment:", sdk.environment);

Next Steps

Configuration

Configure SDK options and environments

Quick Start

Create your first client