Node.js module

querystring

The 'node:querystring' module provides utilities for parsing and formatting URL query strings. It includes parse and stringify methods.

Fully supported in Bun

Fully implemented. 100% of Node.js's test suite passes.

Functions 4

  • querystring.escape()

    The querystring.escape() method performs URL percent-encoding on the given str in a manner that is optimized for the specific requirements of URL query strings.

  • querystring.parse()

    The querystring.parse() method parses a URL query string (str) into a collection of key and value pairs.

  • querystring.stringify()

    The querystring.stringify() method produces a URL query string from a given obj by iterating through the object's "own properties".

  • querystring.unescape()

    The querystring.unescape() method performs decoding of URL percent-encoded characters on the given str.

Interfaces 4

Variables 2