# stripEndSlash

**Kind:** Function

**Source:** [`packages/common/utils/shared.utils.ts`](https://github.com/nestjs/nest/blob/master/packages/common/utils/shared.utils.ts#L40)

**Part of:** [Common](subsystem-packages-common)

## Signature

```ts
function stripEndSlash(path: string)
```

## Parameters

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

## Used by

3 references from 3 files. Each is a place in this repository where the symbol is actually used — go read one rather than trusting an example.

### Imported by (3)

- `RoutePathFactory` — `packages/core/router/route-path-factory.ts`:18
- `MiddlewareBuilder` — `packages/core/middleware/builder.ts`:17
- `RouteInfoPathExtractor` — `packages/core/middleware/route-info-path-extractor.ts`:16
