## 方法

### addTrailingSlash 字符串`末尾`添加`/`

```typescript
addTrailingSlash("http://localhost:8000");
// => http://localhost:8000/
```

| Name | Description | Type      | Default      |
| ---- | ----------- | --------- | ------------ |
| path | `--`        | `string ` | `(required)` |

### removeHeadingString 删除特定`开头`的`字符串`

```typescript
removeHeadingString("/api/example", "/api");
// => /example
```

| Name    | Description | Type      | Default      |
| ------- | ----------- | --------- | ------------ |
| path    | `--`        | `string ` | `(required)` |
| heading | `--`        | `string ` | `(required)` |

### removeHeadingSlash 删除字符串`开头`的`/`

```typescript
removeHeadingSlash("/api/example");
// => api/example
```

| Name | Description | Type      | Default      |
| ---- | ----------- | --------- | ------------ |
| path | `--`        | `string ` | `(required)` |
