camelCase, kebab-case, PascalCase... a simple integration with nano package size. (SMALL footprint!)
I'm trying to make some case conversions for certain types of sensors (e.g. pH sensor, TSS sensor etc). I haven't covered all the different case types here but I think this is sufficient to indicate there is a fundamental problem with single-letter abbreviated words. For example, in the following code: ```javascript import { capitalCase, kebabCase, camelCase, pascalCase } from 'case-anything'; // From Camel Case console.log(pascalCase('tSS')); console.log(camelCase('tSS')); console.log(capitalCase('tSS')); console.log(kebabCase('tSS')); // From Pascal Case console.log(pascalCase('TSS')); console.log(camelCase('TSS')); console.log(capitalCase('TSS')); console.log(kebabCase('TSS')); ``` Gives the following wrong results: ``` TSs tSs T Ss t-ss Tss tss Tss tss ``` Which is different from the expected result which SHOULD be: ``` TSS tSS T S S t-s-s TSS tSS T S S t-s-s ``` By the way the abbreviation "TSS" used here stands for "Total Suspended Solids". I am using "TSS" to shorten strings. All that being said, this is a magnificent project and I hope this bug report will help improve it even further. Thanks in advance.
This issue appears to be discussing a feature request or bug report related to the repository. Based on the content, it seems to be still under discussion. The issue was opened by alidrus and has received 0 comments.