Skip to main content
Module

x/querystring/mod.js

Parse and stringify URL query strings
Latest
import * as querystring from "https://deno.land/x/querystring@v1.0.2/mod.js";

Functions

Exclude query parameters from a URL. Like .pick() but reversed.

Extract a query string from a URL that can be passed into .parse().

Parse a query string into an object. Leading ? or # are ignored, so you can pass location.search or location.hash directly.

Extract the URL and the query string as an object.

Pick query parameters from a URL.

Stringify an object into a query string and sort the keys.

Stringify an object into a URL with a query string and sorting the keys. The inverse of .parseUrl()