frontend/.pnpm-store/v3/files/6e/493ef9d4f1a15be2a904200137f00e63a4e8739c7d8031ecd16a0039b0392b4423906dbfeaa22113e9cb7b9db4c8e8991d832cd38df2329ca8754004bf7643

10 lines
360 B
Plaintext

# `string.camelToHyphen()` _(ext/string\_/camel-to-hyphen)_
Convert camelCase string to hyphen separated, e.g. `oneTwoThree` into `one-to-three`. Useful when converting names from js property convention into filename convention.
```javascript
const camelToHyphen = require("ext/string_/camelToHyphen");
camelToHyphen.call("razDwaTrzy"); // raz-dwa-trzy
```