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

x/deno/cli/tsc/dts/lib.es5.d.ts>encodeURI

A modern runtime for JavaScript and TypeScript.
Go to Latest
function encodeURI
import { encodeURI } from "https://deno.land/x/deno@v1.28.3/cli/tsc/dts/lib.es5.d.ts";

Encodes a text string as a valid Uniform Resource Identifier (URI)

Parameters

uri: string

A value representing an unencoded URI.

Returns

string