Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/valideno/mod.ts>isUrl

Validate your values and schemes with this extendable validator
Latest
function isUrl
import { isUrl } from "https://deno.land/x/valideno@v1.0.0/mod.ts";

Parameters

optional
unnamed 0: { protocols?: string[] | null; allowDataUrl?: boolean; allowUrl?: boolean; allowLocal?: boolean; allowIp?: boolean; allowDomain?: boolean; allowBasicAuth?: boolean; allowPort?: boolean; allowRecourcePath?: boolean; } = [UNSUPPORTED]

Options