blakeembrey / change-case

Convert strings between camelCase, PascalCase, Capital Case, snake_case and more

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

brackets are removed from tite

Morriz opened this issue · comments

Hi, I was wondering why this lib removes chars from the string like (|)|[|]. I think this lib is being overly opinionated and it should be configurable. By default it should only concern itself about casing imo.

I'm going to close this as won't fix but I'm open to fixing it if I can understand the expected use case and behavior. Why are you passing things that can't be cased? What would you want the result to be of camelCase("foo(bar)")? Arguably it is fooBar...