Skip to content

Url.functions.format

fx-fetch


fx-fetch / Url / format

format(url): string

Defined in: packages/fx-fetch/src/Url/format.ts:19

Converts a Url.Url to a string.

Url

string

import { Url } from 'fx-fetch';
const url = Url.make('https://api.example.com/users');
const urlString = Url.format(url); // 'https://api.example.com/users'

0.1.0