> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://akamai.ferndocs.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://akamai.ferndocs.com/_mcp/server.

# url-search-params

Use this module in your EdgeWorker code bundles to assist in query string parsing. The `URLSearchParams()` constructor creates and returns a new [URLSearchParams object](https://developer.mozilla.org/en-US/docs/Web/API/URLSearchParams/URLSearchParams).

```javascript
import URLSearchParams from 'url-search-params';  
export function onClientRequest(request) {
  var params = new URLSearchParams(request.query);
  if (params.get('key1')) {
    request.respondWith(200, {}, '');
  } else {
    request.respondWith(418, {}, '');
  }
}
```