> For the complete documentation index, see [llms.txt](https://ddzy.gitbook.io/ts-utility-plugins-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://ddzy.gitbook.io/ts-utility-plugins-docs/utility/utility-others/converthumptohyphen.md).

# convertHumpToHyphen

### 说明

&#x20;`驼峰`字符串转`连字符`

### 源码

<https://github.com/ddzy/ts-utility-plugins/tree/master/src/ddzy/utility/others/convertHumpToHyphen>

### 用法

{% code title="convertHumpToHyphen.test.ts" %}

```typescript
*
```

{% endcode %}
