PencodeURIComponent
Bun

property

querystring.StringifyOptions.encodeURIComponent

encodeURIComponent?: (str: string) => string

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