x/oak/utils/decode.ts

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

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

Parameters

pathname: string[src]