With regex (i assume) or some other method, how can i convert things like:
marker-image or my-example-setting to markerImage o
marker-image
my-example-setting
markerImage
// Turn the dash separated variable name into camelCase. str = str.replace(/\b-([a-z])/g, (_, char) => char.toUpperCase());