SDK

Installation

Install the Delok SDK.

Requirements

  • Node.js >=18
  • No runtime dependencies
  • No peer dependencies
  • Available as both ESM and CommonJS

Install

Install the Delok SDK

bash
npm install @delok/sdk

Delok requires Node.js 22 or later.

Verify

typescript
import { Delok } from "@delok/sdk";

          const delok = new Delok({
            apiKey: "your_api_key",
            environment: "development",
          });

If apiKey or environment is invalid, the constructor throws DelokConfigurationError.