Const
Default configuration for standalone API functions, clients, and API groups constructed without a configuration.
Standalone functions read these settings at request time. New Kutt clients and API groups copy the settings and their sealed states when constructed.
import { KUTT_CONFIG } from "kutt";KUTT_CONFIG.setAPIKey("YOUR_API_KEY").setTimeout(10_000); Copy
import { KUTT_CONFIG } from "kutt";KUTT_CONFIG.setAPIKey("YOUR_API_KEY").setTimeout(10_000);
Default configuration for standalone API functions, clients, and API groups constructed without a configuration.
Standalone functions read these settings at request time. New Kutt clients and API groups copy the settings and their sealed states when constructed.