Module

x/oak/utils/decode_component.ts>decodeComponent

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

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

Parameters

text: string