# replaceUrlParam

**Kind:** Function

**Source:** [`src/client/utils.ts`](https://github.com/honojs/hono/blob/main/src/client/utils.ts#L18)

**Part of:** [Client](subsystem-src-client)

## Signature

```ts
function replaceUrlParam(urlString: string, params: Record<string, string | undefined>)
```

## Parameters

| Name | Type |
|---|---|
| `urlString` | `string` |
| `params` | `Record<string, string | undefined>` |

## Used by

1 reference from 1 file. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

### Imported by (1)

- `DEFAULT_OUTPUT_DIR` — `src/helper/ssg/ssg.ts`:27
