# splitPath

**Kind:** Function

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

**Part of:** [Utils](subsystem-src-utils)

## Signature

```ts
function splitPath(path: string): string[]
```

## Parameters

| Name | Type |
|---|---|
| `path` | `string` |

**Returns:** `string[]`

## 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)

- `Node` — `src/router/trie-router/node.ts`:25
