Skip to main content
StringifyOptions - node__querystring.d.ts - Node documentation
interface StringifyOptions

Usage in Deno

```typescript import { type StringifyOptions } from "node:node__querystring.d.ts"; ```
The `node:querystring` module provides utilities for parsing and formatting URL query strings. It can be accessed using: ```js 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

  • [source](https://github.com/nodejs/node/blob/v22.x/lib/querystring.js)