Skip to main content
StringifyOptions.encodeURIComponent - querystring - Node documentation
property StringifyOptions.encodeURIComponent

Usage in Deno

import { type StringifyOptions } from "node:querystring";

The function to use when converting URL-unsafe characters to percent-encoding in the query string.

Type

((str: string) => string) | undefined