kutt - v4.0.0
    Preparing search index...

    Function isKuttHealthyV2

    • Checks the health of the Kutt v2 API.

      Parameters

      • options: TAPIOptions = {}

        Per-request base URL, API key, and timeout in milliseconds. Omitted settings use KUTT_CONFIG.

      Returns Promise<boolean>

      true after a successful health request.

      HTTPError If the API returns an unsuccessful HTTP response.

      If the request fails, times out, or the response cannot be decoded.

      import { isKuttHealthyV2 } from "kutt";

      const isHealthy = await isKuttHealthyV2({ timeout: 10_000 });