yjryu / UI_Layout star
File name
Commit message
Commit date
yjryu 2024-01-10 b1cdf23 240110 류윤주 commit UNIX

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.

const camelToHyphen = require("ext/string_/camelToHyphen");

camelToHyphen.call("razDwaTrzy"); // raz-dwa-trzy