lowerCase es-toolkit
Converts a string to lower case format.
Usage
lowerCase(str)
Use lowerCase when you want to convert a string to lower case format. Lower case format is a naming convention where all words are written in lowercase and separated by spaces.
It's useful when creating user-facing text or titles.
It can also be used when displaying configuration or option names.
It properly handles strings with special characters or spaces.
Parameters
strstringrequired
The string to convert to lower case format.
Returns
Returns a new string converted to lower case format.
Source: es-toolkit
Re-exported verbatim from es-toolkit. Implementation, edge cases, and performance behavior are owned upstream. This page mirrors the documentation at the pinned version; the linked source is authoritative.