Skip to main content
Deno 2 is finally here 🎉️
Learn more
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://deno.land/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