es-toolkit
es-toolkit copied to clipboard
Support for `capitalCase`
nice to have:
capitalCase("hello world")
// output: Hello World
es-toolkit already supports some *case.
not the same as capitalize
I think you can use startCase
startCase removes special characters, which is not desired in this scenario - see https://github.com/lodash/lodash/issues/3383 for discussion on this.