Skip to main content
StringifyOptions - querystring - Node documentation
interface StringifyOptions

Usage in Deno

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

The node:querystring module provides utilities for parsing and formatting URL query strings. It can be accessed using:

import querystring from 'node:querystring';

querystring is more performant than URLSearchParams but is not a standardized API. Use URLSearchParams when performance is not critical or when compatibility with browser code is desirable.

Properties

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

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

See