x/oak/utils/decode_component.ts

A middleware framework for handling HTTP with Deno, Node, Bun and Cloudflare Workers 🐿️ 🦕
Very Popular
Latest
function decodeComponent
import { decodeComponent } from "https://dotland-vbqsvsrpfncg.deno-staging.dev/x/oak@v17.1.2/utils/decode_component.ts?s=decodeComponent";

Safely decode a URI component, where if it fails, instead of throwing, just returns the original string

Parameters

text: string[src]