Files
NapCatQQ/.pnpm-store/v3/files/b5/2a6d7c1e418389d6b166e8cfcd6a47c1ccefdf0d0601558175fa74739818ff09435002f0d58a030fcff1b7cf106066f4f889efbef6d4f763ce80e60720b500
T
TanTan e311ca3275
Build NapCat Artifacts / Type Check & Test (push) Waiting to run
docs: 仓库链接指向本镜像仓库
2026-11-13 09:25:58 +08:00

7 lines
164 B
Plaintext

/**
* Convert camelCase to dash-case properties.
*/
const camelToDash = (str) => str.replace(/([a-z])([A-Z])/gu, "$1-$2").toLowerCase();
export { camelToDash };