UNPKG

simple-fetch-ts

Version:

`simple-fetch-ts` is a TypeScript library designed to simplify HTTP requests using a builder-pattern approach. It provides a fluent API for creating, configuring, and executing various HTTP methods (`GET`, `POST`, `PUT`, `PATCH`, `DELETE`) with type safet

5 lines (4 loc) 263 B
import { QueryParams } from ".."; export declare const validateQueryParams: (params: unknown) => void; export declare const serializeQueryParams: (params: QueryParams, lowerCaseKeys?: boolean) => string; export declare const isValidURL: (url: string) => boolean;