Kamelase zu JavaScript zum Bindestrich
let dashed = camel.replace(/[A-Z]/g, m => "-" + m.toLowerCase());
NemeXiS
let dashed = camel.replace(/[A-Z]/g, m => "-" + m.toLowerCase());