I'm not sure if the behavior regarding array values is correct.
https://github.com/BinaryThumb/change-case-object/blob/master/index.js#L9-L15
Arrays only contain values so if the value is a string, and not another object, is should likely have its case remain unchanged. I noticed this while trying to return some AWS EC2 instance information and found my instance IDs going from kebab case to snake case. How should this be handled? Optional flag on functions so compatibility is preserved?
I'm not sure if the behavior regarding array values is correct.
https://github.com/BinaryThumb/change-case-object/blob/master/index.js#L9-L15
Arrays only contain values so if the value is a string, and not another object, is should likely have its case remain unchanged. I noticed this while trying to return some AWS EC2 instance information and found my instance IDs going from kebab case to snake case. How should this be handled? Optional flag on functions so compatibility is preserved?