camelCase, kebab-case, PascalCase... a simple integration with nano package size. (SMALL footprint!)
Hi @mesqueeb, Sorry to come back to the "special characters" item, when implementating the v2 of case-anything, the special characters results felt a unlogical when it comes to the "-" & "_" characters, that are kept. When using for example a PascalCase conversion: ```js const valueAsString = "$sample-example-reports" const result1 = pascalCase(valueAsString,{keepSpecialCharacters: false}) // result = SampleExampleReports const result2 = pascalCase(valueAsString,{keepSpecialCharacters: true}) // result = $Sample-Example-Reports ``` result1 is logical but for result2 I would have expected: `$SampleExampleReports` My first thought would be that the "-" & "_" would be replace since they are linked to the various casing conversion (kebab-case, snake_case, ...) and the special characters would be all the other characters lik "@", "$", ...
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be resolved. The issue was opened by thim81 and has received 9 comments.